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

Method EndObject

source/common/engine/serializer.cpp:359–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357//==========================================================================
358
359void FSerializer::EndObject()
360{
361 if (isWriting())
362 {
363 if (w->inObject())
364 {
365 w->EndObject();
366 w->mInObject.Pop();
367 }
368 else
369 {
370 assert(false && "EndObject call not inside an object");
371 I_Error("EndObject call not inside an object");
372 }
373 }
374 else
375 {
376 r->mObjects.Pop();
377 }
378}
379
380//==========================================================================
381//

Callers 15

gamevar.cppFile · 0.45
SerializeGameVarsFunction · 0.45
savegame.cppFile · 0.45
SerializeGameStateMethod · 0.45
actors_lava.cppFile · 0.45
save.cppFile · 0.45
SerializeGameStateMethod · 0.45
runlist.cppFile · 0.45
SerializeRunListFunction · 0.45
snake.cppFile · 0.45
lighting.cppFile · 0.45

Calls 3

I_ErrorFunction · 0.85
inObjectMethod · 0.80
PopMethod · 0.80

Tested by

no test coverage detected