Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserFlagsBitField

Utility class for working with user flags

Hierarchy

  • UserFlagsBitField

Index

Constructors

Properties

bitfield: number
Flags: typeof UserFlags = UserFlags

Object containing all available user flags

defaultBit: number = 0

The default bit

Methods

  • Checks whether the bitfield has a bit, or multiple bits

    Parameters

    Returns boolean

  • Removes bits from these

    Parameters

    • Rest ...bits: any[]

    Returns UserFlagsBitField

  • toArray(): string[]
  • Gets an Array of UserFlags names based on the bits available

    Returns string[]

  • Parameters

    Returns number

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:16 AM