CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::SerializedObjectMetadata Struct Reference

A struct that holds metadata for a serialized object. More...

#include <CeresEngine/Serialization/Serialization.hpp>

Public Attributes

SerializedObjectMetadataFlags flags = SerializedObjectMetadataFlag::None
 A set of flags that determine the serialization behavior of the object.
 
Type type
 The object class definition.
 
Optional< SerializedObjectIDobjectID = nullopt
 A unique object ID.
 

Detailed Description

A struct that holds metadata for a serialized object.

Member Data Documentation

◆ flags

SerializedObjectMetadataFlags CeresEngine::SerializedObjectMetadata::flags = SerializedObjectMetadataFlag::None

A set of flags that determine the serialization behavior of the object.

◆ objectID

Optional<SerializedObjectID> CeresEngine::SerializedObjectMetadata::objectID = nullopt

A unique object ID.

Uniquely represents the object in the serialized stream. Can be used for re-creating references to objects.

Can be empty, in which case the object is not referencable on the encoded stream.

◆ type

Type CeresEngine::SerializedObjectMetadata::type

The object class definition.


The documentation for this struct was generated from the following file: