MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Serialize

Method Serialize

Source/Engine/Core/Config/GameSettings.cpp:290–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288#if USE_EDITOR
289
290void LayersAndTagsSettings::Serialize(SerializeStream& stream, const void* otherObj)
291{
292 SERIALIZE_GET_OTHER_OBJ(LayersAndTagsSettings);
293
294 stream.JKEY("Tags");
295 stream.StartArray();
296 for (const String& e : Tags)
297 stream.String(e);
298 stream.EndArray();
299
300 stream.JKEY("Layers");
301 stream.StartArray();
302 for (const String& e : Layers)
303 stream.String(e);
304 stream.EndArray();
305}
306
307#endif
308

Callers

nothing calls this directly

Calls 3

StartArrayMethod · 0.45
StringMethod · 0.45
EndArrayMethod · 0.45

Tested by

no test coverage detected