MCPcopy Create free account
hub / github.com/ZDoom/Raze / Serialize

Method Serialize

source/core/savegamehelp.cpp:623–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623void DCorePlayer::Serialize(FSerializer& arc)
624{
625 Super::Serialize(arc);
626 arc("pnum", pnum)
627 ("actor", actor)
628 ("actions", cmd.ucmd.actions)
629 ("viewangles", ViewAngles)
630 ("yawspin", YawSpin)
631 //("cmd", cmd)
632 //("lastcmd", lastcmd)
633 ;
634
635 if (arc.isReading())
636 {
637 cmd.ucmd.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve.
638 }
639}
640
641void DCoreActor::Serialize(FSerializer& arc)
642{

Callers 1

SerializeSessionFunction · 0.45

Calls 1

isReadingMethod · 0.80

Tested by

no test coverage detected