Enum Class CfgManagers

java.lang.Object
java.lang.Enum<CfgManagers>
org.qiunet.cfg.manager.CfgManagers
All Implemented Interfaces:
Serializable, Comparable<CfgManagers>, Constable

public enum CfgManagers extends Enum<CfgManagers>
总管 游戏设定加载
Author:
qiunet Created on 17/2/9 12:15.
  • Enum Constant Details

  • Method Details

    • values

      public static CfgManagers[] 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 CfgManagers 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
    • getInstance

      public static CfgManagers getInstance()
    • reloadSetting

      public void reloadSetting(List<ICfgManager<?,?>> gameSettingList)
      重新加载 指定cfg Manager 文件变动热更使用
      Throws:
      Exception
    • reloadSetting

      public void reloadSetting()
      重新加载
      Throws:
      Exception
    • addCfgManager

      public void addCfgManager(ICfgManager<?,?> manager)
      添加 Manager
      Parameters:
      manager -