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

Method LoadFromINI

src/New/Type/Affiliated/InterceptorTypeClass.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{ }
18
19void InterceptorTypeClass::LoadFromINI(CCINIClass* pINI, const char* pSection)
20{
21 INI_EX exINI(pINI);
22
23 this->CanTargetHouses.Read(exINI, pSection, "Interceptor.CanTargetHouses");
24 this->GuardRange.Read(exINI, pSection, "Interceptor.%sGuardRange");
25 this->MinimumGuardRange.Read(exINI, pSection, "Interceptor.%sMinimumGuardRange");
26 this->Weapon.Read(exINI, pSection, "Interceptor.Weapon");
27 this->DeleteOnIntercept.Read(exINI, pSection, "Interceptor.DeleteOnIntercept");
28 this->WeaponOverride.Read<true>(exINI, pSection, "Interceptor.WeaponOverride");
29 this->WeaponReplaceProjectile.Read(exINI, pSection, "Interceptor.WeaponReplaceProjectile");
30 this->WeaponCumulativeDamage.Read(exINI, pSection, "Interceptor.WeaponCumulativeDamage");
31 this->KeepIntact.Read(exINI, pSection, "Interceptor.KeepIntact");
32}
33
34#pragma region(save/load)
35

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected