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

Method Save

src/Utilities/Constructs.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool CustomPalette::Save(PhobosStreamWriter& Stm) const
85{
86 Stm.Save(this->Mode);
87 Stm.Save(this->Palette != nullptr);
88 if (this->Palette)
89 {
90 Stm.Save(*this->Palette);
91 }
92 return true;
93}
94
95void CustomPalette::Clear()
96{

Callers 1

saveMethod · 0.45

Calls 1

WritePhobosStreamFunction · 0.85

Tested by

no test coverage detected