NetworkEntityType
Index
Constructors
constructor
Parameters
name: string
Returns NetworkEntityType
Methods
addClientPacketListener
Parameters
name: string
action: (target: any, entity: number, packetData: any) => void
Returns this
setClientAddPacketFactory
Parameters
action: (target: any, entity: number, client: any) => any
Returns this
setClientEntityAddedListener
Type parameters
- T = any
Parameters
action: (entity: number, packet: any) => T
Returns this
setClientEntityRemovedListener
Parameters
action: (target: any, entity: number) => void
Returns this
setClientListSetupListener
Parameters
action: (list: NetworkConnectedClientList, target: object, entity: any) => void
Returns this
Class that represents network entity type.