skeldjs
    Preparing search index...

    Class PlayerRemoveProtectionEvent<RoomType>

    Emitted when a player's protection by a guardian angel ends, either by running out of time or attempted to be murdered by an impostor.

    See PlayerProtectEvent to listen for when a player gets protected initially.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.removeprotection" = ...
    murderAttempt: boolean

    Whether or not the player ran out of protection because of a murder attempt.

    player: Player<RoomType>

    The player that this event is for.

    reverted: boolean
    room: RoomType

    The room or client that the event came from.

    eventName: "player.removeprotection" = ...

    Methods