枚举类 BuyTypeEnum

java.lang.Object
java.lang.Enum<BuyTypeEnum>
com.handy.playertitle.constants.BuyTypeEnum
所有已实现的接口:
Serializable, Comparable<BuyTypeEnum>, Constable

public enum BuyTypeEnum extends Enum<BuyTypeEnum>
购买类型
  • 枚举常量详细资料

    • ALL

      public static final BuyTypeEnum ALL
      全部
    • NOT

      public static final BuyTypeEnum NOT
      白嫖
    • VAULT

      public static final BuyTypeEnum VAULT
      金币
    • PLAYER_POINTS

      public static final BuyTypeEnum PLAYER_POINTS
      点券
    • COIN

      public static final BuyTypeEnum COIN
      称号币
    • ITEM_STACK

      public static final BuyTypeEnum ITEM_STACK
      物品
    • PERMISSION

      public static final BuyTypeEnum PERMISSION
      权限
    • ACTIVITY

      public static final BuyTypeEnum ACTIVITY
      活动
    • PLAYER_CURRENCY

      public static final BuyTypeEnum PLAYER_CURRENCY
      多货币
  • 方法详细资料

    • values

      public static BuyTypeEnum[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static BuyTypeEnum valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • getBuyTypeList

      public static List<String> getBuyTypeList()
      获取全部列表
      返回:
      列表
    • getEnumListNotPermission

      public static List<String> getEnumListNotPermission()
      获取不包含权限的列表
      返回:
      列表
    • getEnum

      public static BuyTypeEnum getEnum(String buyType)
      获取对应枚举
      参数:
      buyType - 类型
      返回:
      枚举
    • getEnumThrow

      public static BuyTypeEnum getEnumThrow(String buyType)
      获取对应枚举
      参数:
      buyType - 类型
      返回:
      枚举
    • getEnum

      public static BuyTypeEnum getEnum(Integer buyTypeId)
      获取对应枚举
      参数:
      buyTypeId - 类型Id
      返回:
      枚举
    • getNextEnum

      public static String getNextEnum(String buyType)
      获取下一个枚举
      参数:
      buyType - 类型
      返回:
      枚举
    • getDesc

      public static String getDesc(String buyType)
      获取描述
      参数:
      buyType - 类型
      返回:
      描述
      从以下版本开始:
      4.3.0
    • getDesc

      public static String getDesc(BuyTypeEnum buyTypeEnum)
      获取描述
      参数:
      buyTypeEnum - 类型
      返回:
      描述
      从以下版本开始:
      4.3.0