MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / LoadFromINIFile

Method LoadFromINIFile

src/Ext/House/Body.cpp:588–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588void HouseExt::ExtData::LoadFromINIFile(CCINIClass* const pINI)
589{
590 const char* pSection = this->OwnerObject()->PlainName;
591
592 INI_EX exINI(pINI);
593
594 ValueableVector<bool> readBaseNodeRepairInfo;
595 readBaseNodeRepairInfo.Read(exINI, pSection, "RepairBaseNodes");
596 size_t nWritten = readBaseNodeRepairInfo.size();
597
598 if (nWritten <= 3)
599 {
600 for (size_t i = 0; i < nWritten; i++)
601 {
602 this->RepairBaseNodes[i] = readBaseNodeRepairInfo[i];
603 }
604 }
605}
606
607// =============================
608// load / save

Callers

nothing calls this directly

Calls 2

ReadMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected