MetaModel
MetaModel
Static Fields
public uint ReservedPropertyID
The propertyID reserved for serializing metamodel instances inside of a RealtimeModel.
Events
event OwnerIDDidChange ownerIDDidChange
Called when [Normal.Realtime.Serialization.MetaModel.ownerID](Normal.Realtime.Serialization.MetaModel#ownerid) has changed.
event OnLengthShouldInvalidate reliableLengthShouldInvalidate
Properties
bool isFreshModel { get; }
True if this model was just locally created. This flag can be used to apply component settings or initial values to a newly instantiated model.
int ownerID { get; set; }
The client ID of the model owner. A value of -1 is unowned, anything greater is a client ID.
LifetimeFlags lifetimeFlags { get; set; }
The lifetime flags for the model that this metamodel belongs to.
In the next major version, this will be replaced with individual boolean properties