EntityBus

Summary

Properties

Name Type
entities Entity{}
parent EntityBus | nil
parentRepresentative DataContainer | nil
data DataContainer | nil
dataId NetworkDataId
instanceId int
networkId int

Methods

Method Returns
FireEvent(targetData: DataContainer, eventId: int) void
FireEvent(targetData: DataContainer, eventName: string) void
FireEvent(targetData: DataContainer, event: EntityEvent) void
GetEntity(forData: DataContainer) Entity | nil
PropertyChanged(propertyId: int) void
PropertyChanged(propertyId: int, value: any) void
PropertyChanged(propertyName: string) void
PropertyChanged(propertyName: string, value: any) void
GetLinks(toData: DataContainer, fieldId: int) Entity{}
GetLinks(toData: DataContainer, fieldName: string) Entity{}

Operators

Operator Rhs Returns
== EntityBus bool

Properties

entities

Entity{}

parent

EntityBus | nil

parentRepresentative

DataContainer | nil

data

DataContainer | nil

dataId

NetworkDataId

instanceId

int

networkId

int

Methods

FireEvent

FireEvent(targetData: DataContainer, eventId: int)

Parameters

Name Type Description
targetData DataContainer
eventId int

FireEvent

FireEvent(targetData: DataContainer, eventName: string)

Parameters

Name Type Description
targetData DataContainer
eventName string

FireEvent

FireEvent(targetData: DataContainer, event: EntityEvent)

Parameters

Name Type Description
targetData DataContainer
event EntityEvent

GetEntity

GetEntity(forData: DataContainer): Entity | nil

Parameters

Name Type Description
forData DataContainer

Returns

Type Description
Entity | nil

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

GetLinks(toData: DataContainer, fieldId: int): Entity{}

Parameters

Name Type Description
toData DataContainer
fieldId int

Returns

Type Description
Entity{}

GetLinks(toData: DataContainer, fieldName: string): Entity{}

Parameters

Name Type Description
toData DataContainer
fieldName string

Returns

Type Description
Entity{}

Operators

operator==

operator==(rhs: EntityBus): bool

Parameters

Name Type Description
rhs EntityBus

Returns

Type Description
bool
Last modified October 28, 2020: Fix VeniceEXT versioning shortcode (0686678)