MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / save

Method save

ogsr_engine/xrGame/map_manager.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37void SLocationKey::save(IWriter& stream)
38{
39 stream.w(&object_id, sizeof(object_id));
40
41 stream.w_stringZ(spot_type);
42 stream.w_u8(location->IsUserDefined() ? 1 : 0);
43 location->save(stream);
44}
45
46void SLocationKey::load(IReader& stream)
47{

Callers

nothing calls this directly

Calls 9

w_stringZMethod · 0.80
IsUserDefinedMethod · 0.80
SerializableMethod · 0.80
wMethod · 0.45
w_u8Method · 0.45
w_u32Method · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected