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