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

Method CreateGameData

engine/Poseidon/Game/Scripting/ExpressExt.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 PARAM_CHECK(ar.Serialize("Variables", value->GetVariables(), 1))
65 ar.SetParams(old);
66 return LSOK;
67}
68
69GameData* ParamArchiveFunctions::CreateGameData(ParamArchive& ar, GameType type)
70{
71 GameState* context = reinterpret_cast<GameState*>(ar.GetParams());
72 return context->CreateGameData(type);
73}

Callers

nothing calls this directly

Calls 1

GetParamsMethod · 0.45

Tested by

no test coverage detected