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

Method LoadFromINI

src/New/Type/LaserTrailTypeClass.cpp:12–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void LaserTrailTypeClass::LoadFromINI(CCINIClass* pINI)
13{
14 const char* section = this->Name;
15
16 if (!pINI->GetSection(section))
17 return;
18
19 INI_EX exINI(pINI);
20
21 this->IsHouseColor.Read(exINI, section, "IsHouseColor");
22 this->Color.Read(exINI, section, "Color");
23
24 this->FadeDuration.Read(exINI, section, "FadeDuration");
25 this->Thickness.Read(exINI, section, "Thickness");
26 this->SegmentLength.Read(exINI, section, "SegmentLength");
27 this->IgnoreVertical.Read(exINI, section, "IgnoreVertical");
28 this->IsIntense.Read(exINI, section, "IsIntense");
29 this->CloakVisible.Read(exINI, section, "CloakVisible");
30 this->CloakVisible_DetectedOnly.Read(exINI, section, "CloakVisible.DetectedOnly");
31 this->DroppodOnly.Read(exINI, section, "DropPodOnly");
32}
33
34template <typename T>
35void LaserTrailTypeClass::Serialize(T& Stm)

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected