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

Method SerializeUserVars

source/common/objects/dobject.cpp:540–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538//==========================================================================
539
540void DObject::SerializeUserVars(FSerializer &arc)
541{
542 if (arc.isWriting())
543 {
544 // Write all fields that aren't serialized by native code.
545 GetClass()->WriteAllFields(arc, this);
546 }
547 else
548 {
549 GetClass()->ReadAllFields(arc, this);
550 }
551}
552
553
554//==========================================================================

Callers 2

WriteObjectsMethod · 0.80
ReadObjectsMethod · 0.80

Calls 3

isWritingMethod · 0.80
WriteAllFieldsMethod · 0.80
ReadAllFieldsMethod · 0.80

Tested by

no test coverage detected