Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NetworkEntityType

Class that represents network entity type

Hierarchy

  • NetworkEntityType

Index

Constructors

constructor

Methods

addClientPacketListener

  • addClientPacketListener(name: string, action: (target: any, entity: number, packetData: any) => void): this
  • Parameters

    • name: string
    • action: (target: any, entity: number, packetData: any) => void
        • (target: any, entity: number, packetData: any): void
        • Parameters

          • target: any
          • entity: number
          • packetData: any

          Returns void

    Returns this

setClientAddPacketFactory

  • setClientAddPacketFactory(action: (target: any, entity: number, client: any) => any): this
  • Parameters

    • action: (target: any, entity: number, client: any) => any
        • (target: any, entity: number, client: any): any
        • Parameters

          • target: any
          • entity: number
          • client: any

          Returns any

    Returns this

setClientEntityAddedListener

  • setClientEntityAddedListener<T>(action: (entity: number, packet: any) => T): this
  • Type parameters

    • T

    Parameters

    • action: (entity: number, packet: any) => T
        • (entity: number, packet: any): T
        • Parameters

          • entity: number
          • packet: any

          Returns T

    Returns this

setClientEntityRemovedListener

  • setClientEntityRemovedListener(action: (target: any, entity: number) => void): this
  • Parameters

    • action: (target: any, entity: number) => void
        • (target: any, entity: number): void
        • Parameters

          • target: any
          • entity: number

          Returns void

    Returns this

setClientListSetupListener

Generated using TypeDoc