EntityBusPeer
Summary
Properties
Methods
Operators
Static members
Properties
typeInfo
TypeInformation
data
DataContainer | nil
instanceId
int
bus
EntityBus | nil
LinearTransform | nil
Methods
Is
Is(typeName: string): bool
Parameters
Name |
Type |
Description |
typeName |
string |
|
Returns
FireEvent
FireEvent(eventId: int)
Parameters
Name |
Type |
Description |
eventId |
int |
|
FireEvent
FireEvent(eventName: string)
Parameters
Name |
Type |
Description |
eventName |
string |
|
FireEvent
FireEvent(event: EntityEvent)
Parameters
PropertyChanged
PropertyChanged(propertyId: int)
Parameters
Name |
Type |
Description |
propertyId |
int |
|
PropertyChanged
PropertyChanged(propertyId: int, value: any)
Parameters
Name |
Type |
Description |
propertyId |
int |
|
value |
any |
|
PropertyChanged
PropertyChanged(propertyName: string)
Parameters
Name |
Type |
Description |
propertyName |
string |
|
PropertyChanged
PropertyChanged(propertyName: string, value: any)
Parameters
Name |
Type |
Description |
propertyName |
string |
|
value |
any |
|
RegisterEventCallback
RegisterEventCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(peer: Entity | Component, event: EntityEvent): bool . |
Returns
RegisterEventCallback
RegisterEventCallback(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, peer: Entity | Component, event: EntityEvent): bool . |
Returns
UnregisterEventCallback
UnregisterEventCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterCreateCallback
RegisterCreateCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(peer: Entity | Component, transform: LinearTransform): bool . |
Returns
RegisterCreateCallback
RegisterCreateCallback(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, peer: Entity | Component, transform: LinearTransform): bool . |
Returns
UnregisterCreateCallback
UnregisterCreateCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterDestroyCallback
RegisterDestroyCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(peer: Entity | Component): bool . |
Returns
RegisterDestroyCallback
RegisterDestroyCallback(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, peer: Entity | Component): bool . |
Returns
UnregisterDestroyCallback
UnregisterDestroyCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterPropertyChangedCallback
RegisterPropertyChangedCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(peer: Entity | Component, propertyName: string): bool . |
Returns
RegisterPropertyChangedCallback
RegisterPropertyChangedCallback(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, peer: Entity | Component, propertyName: string): bool . |
Returns
UnregisterPropertyChangedCallback
UnregisterPropertyChangedCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
Operators
operator==
operator==(rhs: EntityBusPeer): bool
Parameters
Returns
Static members
typeInfo
TypeInformation