Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoomSetPrivacyEvent<RoomType>

Emitted when the privacy of the room is updated.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "room.setprivacy" = ...

eventName

eventName: "room.setprivacy" = ...

Readonly message

message: undefined | AlterGameMessage

The message that this event originated from.

Readonly newPrivacy

newPrivacy: PrivacyType

Readonly oldPrivacy

oldPrivacy: PrivacyType

Readonly room

room: RoomType

The room or client that the event came from.

Accessors

alteredPrivacy

  • get alteredPrivacy(): PrivacyType

Constructors

constructor

Methods

revert

  • revert(): void

setPrivacy

  • setPrivacy(privacy: PrivacyType): void

Generated using TypeDoc