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

Method Serialize

engine/Poseidon/World/Simulation/Simul.cpp:926–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

924}
925
926LSError AttachedOnVehicle::Serialize(ParamArchive& ar)
927{
928 PARAM_CHECK(ar.SerializeRef("Entity", _vehicle, 1))
929 PARAM_CHECK(ar.Serialize("pos", _pos, 1))
930 PARAM_CHECK(ar.Serialize("dir", _dir, 1))
931 if (ar.IsLoading() && ar.GetPass() == ParamArchive::PassSecond)
932 {
933 UpdatePosition();
934 }
935 return LSOK;
936}
937
938float Object::CamEffectFOV() const
939{

Callers 1

CreateObjectMethod · 0.45

Calls 12

TransformFunction · 0.85
InvInertiaFunction · 0.85
SerializeRefMethod · 0.80
GetPassMethod · 0.80
GetArVersionMethod · 0.80
AddToIDCacheMethod · 0.80
SerializeEnumMethod · 0.80
GetTypeFunction · 0.50
SerializeFunction · 0.50
IsLoadingMethod · 0.45
IsSavingMethod · 0.45
NameMethod · 0.45

Tested by

no test coverage detected