| 55 | |
| 56 | // Registration happens via InitScriptingDefaults(), called from |
| 57 | // Poseidon::InitDefaults() at app startup. |
| 58 | } GParamArchiveFunctions; |
| 59 | |
| 60 | LSError ParamArchiveFunctions::Serialize(ParamArchive& ar, GameState* value) |
| 61 | { |
| 62 | void* old = ar.GetParams(); |
| 63 | ar.SetParams(value); |
| 64 | PARAM_CHECK(ar.Serialize("Variables", value->GetVariables(), 1)) |
| 65 | ar.SetParams(old); |
| 66 | return LSOK; |
| 67 | } |
no test coverage detected