WorldObject
Hierarchy
- BaseObject
- WorldObject
Index
Properties
publicdimension
publicreadonlyid
publicpos
Object position.
publicreadonlyrefCount
Returns the ref count of the entity.
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
Object dimension.
Remarks
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.