MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / serializeIn

Function serializeIn

game/state/gamestate_serialize.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28
29void serializeIn(const GameState *, SerializationNode *node, UString &str)
30{
31 if (!node)
32 return;
33 str = node->getValue();
34}
35
36void serializeIn(const GameState *, SerializationNode *node, unsigned int &val)
37{

Callers 2

deserializeMethod · 0.70
deserializeFunction · 0.70

Calls 13

getValueUIntMethod · 0.80
getValueUCharMethod · 0.80
getValueFloatMethod · 0.80
getValueIntMethod · 0.80
getValueUInt64Method · 0.80
getValueBoolMethod · 0.80
getValueBoolVectorMethod · 0.80
loadVoxelSliceMethod · 0.80
getNodeMethod · 0.80
getValueMethod · 0.45
loadImageMethod · 0.45
loadSampleMethod · 0.45

Tested by

no test coverage detected