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

Method HasObject

source/common/engine/serializer.cpp:315–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313//==========================================================================
314
315bool FSerializer::HasObject(const char* name)
316{
317 if (isReading())
318 {
319 auto val = r->FindKey(name);
320 if (val != nullptr)
321 {
322 if (val->IsObject())
323 {
324 return true;
325 }
326 }
327 }
328 return false;
329}
330
331//==========================================================================
332//

Callers 1

savegamehelp.cppFile · 0.80

Calls 2

IsObjectMethod · 0.80
FindKeyMethod · 0.45

Tested by

no test coverage detected