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

Method load

src/Utilities/Constructs.cpp:211–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211bool CSFText::load(PhobosStreamReader& Stm, bool RegisterForChange)
212{
213 this->Text = nullptr;
214 if (Stm.Load(this->Label.data()))
215 {
216 if (this->Label)
217 {
218 this->Text = StringTable::LoadString(this->Label);
219 }
220 return true;
221 }
222 return false;
223}
224
225bool CSFText::save(PhobosStreamWriter& Stm) const
226{

Callers 2

SavegameDef.hFile · 0.45
ReadPhobosStreamFunction · 0.45

Calls 2

LoadMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected