Enum Class UserFlag

java.lang.Object
java.lang.Enum<UserFlag>
com.mewna.catnip.entity.user.UserFlag
All Implemented Interfaces:
Serializable, Comparable<UserFlag>, Constable

public enum UserFlag extends Enum<UserFlag>
The flags that can be on a user's account. An undocumented subset of these flags is exposed via User.publicFlags().
Since:
4/18/20.
Author:
amy
  • Enum Constant Details

    • DISCORD_EMPLOYEE

      public static final UserFlag DISCORD_EMPLOYEE
    • DISCORD_PARTNER

      public static final UserFlag DISCORD_PARTNER
    • HYPESQUAD_EVENTS

      public static final UserFlag HYPESQUAD_EVENTS
    • BUG_HUNTER_LEVEL_1

      public static final UserFlag BUG_HUNTER_LEVEL_1
    • PREMIUM_PROMO_DISMISSED

      public static final UserFlag PREMIUM_PROMO_DISMISSED
    • MFA_SMS

      public static final UserFlag MFA_SMS
    • HOUSE_BRAVERY

      public static final UserFlag HOUSE_BRAVERY
    • HOUSE_BRILLIANCE

      public static final UserFlag HOUSE_BRILLIANCE
    • HOUSE_BALANCE

      public static final UserFlag HOUSE_BALANCE
    • EARLY_SUPPORTER

      public static final UserFlag EARLY_SUPPORTER
    • TEAM_USER

      public static final UserFlag TEAM_USER
    • PARTNER_OR_VERIFICATION_APPLICATION

      public static final UserFlag PARTNER_OR_VERIFICATION_APPLICATION
    • SYSTEM

      public static final UserFlag SYSTEM
    • HAS_UNREAD_URGENT_MESSAGES

      public static final UserFlag HAS_UNREAD_URGENT_MESSAGES
    • BUG_HUNTER_LEVEL_2

      public static final UserFlag BUG_HUNTER_LEVEL_2
    • UNDERAGE_DELETED

      public static final UserFlag UNDERAGE_DELETED
    • VERIFIED_BOT

      public static final UserFlag VERIFIED_BOT
    • VERIFIED_BOT_DEVELOPER

      public static final UserFlag VERIFIED_BOT_DEVELOPER
    • DISCORD_CERTIFIED_MODERATOR

      public static final UserFlag DISCORD_CERTIFIED_MODERATOR
    • BOT_HTTP_INTERACTIONS

      public static final UserFlag BOT_HTTP_INTERACTIONS
    • SPAMMER

      public static final UserFlag SPAMMER
  • Method Details

    • values

      public static UserFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toSet

      public static Set<UserFlag> toSet(long asLong)
    • value

      public int value()