BaseObject
Index
Properties
publicreadonlyid
publicreadonlyrefCount
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
Methods
publicdeleteMeta
Removes the specified key and the data connected to that specific key.
publicdestroy
Removes the object from the world.
publicgetMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetMetaDataKeys
publicgetSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetSyncedMetaKeys
publichasMeta
Determines whether contains the specified key.
publichasSyncedMeta
Determines whether contains the specified key.
publicsetMeta
Stores the given value with the specified key.
Type parameters
- K: string
Returns the ref count of the entity.
Remarks
It’s only available in debug-mode.