skeldjs
    Preparing search index...

    Class VoteBanSystem<RoomType>

    Represents a room object for handling vote kicks.

    See VoteBanSystemEvents for events to listen to.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    components: NetworkedObject<RoomType, any>[]
    dirtyBit: number = 0

    The dirty state of this component.

    flags: number

    Flags for this object, see SpawnFlag.

    netId: number

    The net ID of this component.

    ownerId: number

    The ID of the owner of this component.

    player?: Player<RoomType>

    The player that this component belongs to.

    room: RoomType

    The room that this component belongs to.

    spawnType: SpawnType

    The type of object that this component belongs to.

    voted: Map<
        number,
        [
            undefined
            | Player<RoomType>,
            undefined | Player<RoomType>,
            undefined | Player<RoomType>,
        ],
    >

    The accumulated votes.

    Accessors

    Methods