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

Method WriteKey

source/common/engine/serializer.cpp:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240//==========================================================================
241
242void FSerializer::WriteKey(const char *key)
243{
244 if (isWriting() && w->inObject())
245 {
246 assert(key != nullptr);
247 if (key == nullptr)
248 {
249 I_Error("missing element name");
250 }
251 w->Key(key);
252 }
253}
254
255//==========================================================================
256//

Callers 3

serializer.cppFile · 0.80
SerializeFunctionPointerFunction · 0.80

Calls 3

I_ErrorFunction · 0.85
inObjectMethod · 0.80
KeyMethod · 0.80

Tested by

no test coverage detected