MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Serialize

Method Serialize

engine/Poseidon/Game/Scripting/Scripts.cpp:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336LSError ScriptLine::Serialize(ParamArchive& ar)
337{
338 PARAM_CHECK(ar.Serialize("waitUntil", waitUntil, 1, "true"))
339 PARAM_CHECK(ar.Serialize("suspendUntil", suspendUntil, 1, "0"))
340 PARAM_CHECK(ar.Serialize("condition", condition, 1, "true"))
341 PARAM_CHECK(ar.Serialize("statement", statement, 1))
342 return LSOK;
343}
344
345LSError ScriptLabel::Serialize(ParamArchive& ar)
346{

Callers

nothing calls this directly

Calls 10

GameValueExtClass · 0.85
GetArVersionMethod · 0.80
SerializeRefMethod · 0.80
GetLinkMethod · 0.80
RStringClass · 0.50
GetGameStateMethod · 0.45
GetParamsMethod · 0.45
SetParamsMethod · 0.45
IsLoadingMethod · 0.45
IsSavingMethod · 0.45

Tested by

no test coverage detected