classicborne
    Preparing search index...

    Class DroneTransmitter

    Represents a drone transmitter for replicating drones to a player's client.

    Hierarchy

    • unknown
      • DroneTransmitter
    Index

    Constructors

    Properties

    client: Client
    drones: Set<any>

    Yet to be documented.

    listeners: Map<any, any>
    netIds: Map<any, any>

    Methods

    • Adds a drone for transmitting and assign a client-specific net ID. Listens to the drone's position and destroy events.

      Parameters

      • drone: Drone

        The drone to add.

      Returns number

      The net ID assigned to the drone.

    • Returns the drone with the specified net ID.

      Parameters

      • netId: number

        The net ID of the drone to find.

      Returns Drone

      The drone with the specified net ID, or null if not found.