SkeldJS
    Preparing search index...

    Class PlayerSetAuthoritativeEvent<RoomType>

    Emitted when a player becomes the host of the room.

    This event contains a setHost method that does not do anything in SkeldJS as the host of the room is decided by the server, making it impossible to alter the host as a client.

    A server implementation may implement this by overriding the functions in StatefulRoom responsible for updating the host.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setauthoritative" = ...
    eventName: "player.setauthoritative" = ...
    player: Player<RoomType>
    room: RoomType

    Accessors

    Methods