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

Method LoadFromStream

src/Ext/TerrainType/Body.cpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void TerrainTypeExt::ExtData::LoadFromStream(PhobosStreamReader& Stm)
101{
102 Extension<TerrainTypeClass>::LoadFromStream(Stm);
103 this->Serialize(Stm);
104 this->Palette = GeneralUtils::BuildPalette(this->PaletteFile);
105}
106
107void TerrainTypeExt::ExtData::SaveToStream(PhobosStreamWriter& Stm)
108{

Callers

nothing calls this directly

Calls 1

SerializeMethod · 0.95

Tested by

no test coverage detected