Entity
Inherits from EntityBusPeer
Summary
Constructors
Properties
Methods
Static members
Constructors
Entity
Entity(other: EntityBusPeer)
Parameters
Properties
uniqueId
int
isPendingDestruction
bool
Methods
Init
Init(realm: Realm, enableAllowed: bool, isGhost: bool = false)
Parameters
| Name |
Type |
Description |
| realm |
Realm |
|
| enableAllowed |
bool |
|
| isGhost |
bool |
|
Destroy
Destroy()
RegisterInitCallback
RegisterInitCallback(callback: callable): int
Parameters
| Name |
Type |
Description |
| callback |
callable |
A callback in the form function(entity: Entity): bool. |
Returns
RegisterInitCallback
RegisterInitCallback(context: any, callback: callable): int
Parameters
| Name |
Type |
Description |
| context |
any |
A context value to pass to the callback. |
| callback |
callable |
A callback in the form function(context: any, entity: Entity): bool. |
Returns
UnregisterInitCallback
UnregisterInitCallback(handle: int)
Parameters
| Name |
Type |
Description |
| handle |
int |
|
RegisterDeinitCallback
RegisterDeinitCallback(callback: callable): int
Parameters
| Name |
Type |
Description |
| callback |
callable |
A callback in the form function(entity: Entity): bool. |
Returns
RegisterDeinitCallback
RegisterDeinitCallback(context: any, callback: callable): int
Parameters
| Name |
Type |
Description |
| context |
any |
A context value to pass to the callback. |
| callback |
callable |
A callback in the form function(context: any, entity: Entity): bool. |
Returns
UnregisterDeinitCallback
UnregisterDeinitCallback(handle: int)
Parameters
| Name |
Type |
Description |
| handle |
int |
|
Static members
typeInfo
TypeInformation