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

Method Serialize

src/Ext/TerrainType/Body.cpp:46–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename T>
46void TerrainTypeExt::ExtData::Serialize(T& Stm)
47{
48 Stm
49 .Process(this->SpawnsTiberium_Type)
50 .Process(this->SpawnsTiberium_Range)
51 .Process(this->SpawnsTiberium_GrowthStage)
52 .Process(this->SpawnsTiberium_CellsPerAnim)
53 .Process(this->DestroyAnim)
54 .Process(this->DestroySound)
55 .Process(this->MinimapColor)
56 .Process(this->IsPassable)
57 .Process(this->CanBeBuiltOn)
58 .Process(this->HasDamagedFrames)
59 .Process(this->HasCrumblingFrames)
60 .Process(this->CrumblingSound)
61 .Process(this->AnimationLength)
62 .Process(this->PaletteFile)
63 ;
64}
65
66void TerrainTypeExt::ExtData::LoadFromINIFile(CCINIClass* const pINI)
67{

Callers 2

LoadFromStreamMethod · 0.95
SaveToStreamMethod · 0.95

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected