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

Method Initialize

src/Ext/Side/Body.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5SideExt::ExtContainer SideExt::ExtMap;
6
7void SideExt::ExtData::Initialize()
8{
9 const char* pID = this->OwnerObject()->ID;
10
11 this->ArrayIndex = SideClass::FindIndex(pID);
12 this->Sidebar_GDIPositions = this->ArrayIndex == 0; // true = Allied
13};
14
15void SideExt::ExtData::LoadFromINIFile(CCINIClass* pINI)
16{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected