少年修仙传客户端代码仓库
client_Wu Xijin
2018-12-29 cb1eab9f0bd9517855ec6e2b5880fb93acb1adaf
3335 更新配置表lua读取接口
1个文件已修改
50 ■■■■■ 已修改文件
Lua/LuaConfigUtility.cs 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/LuaConfigUtility.cs
@@ -4,6 +4,56 @@
public static class ConfigUtil
{
    //这里插入配置表获取方法
    public static CrossServerArenaConfig GetCrossServerArena(string _key)
    {
        return Config.Instance.Get<CrossServerArenaConfig>(_key);
    }
    public static FuncSwitchConfig GetFuncSwitch(string _key)
    {
        return Config.Instance.Get<FuncSwitchConfig>(_key);
    }
    public static GatherSoulConfig GetGatherSoul(string _key)
    {
        return Config.Instance.Get<GatherSoulConfig>(_key);
    }
    public static GatherSoulComposeConfig GetGatherSoulCompose(string _key)
    {
        return Config.Instance.Get<GatherSoulComposeConfig>(_key);
    }
    public static tagNPCRefreshConfig GettagNPCRefresh(string _key)
    {
        return Config.Instance.Get<tagNPCRefreshConfig>(_key);
    }
    public static DungeonHelpBattleConfig GetDungeonHelpBattle(string _key)
    {
        return Config.Instance.Get<DungeonHelpBattleConfig>(_key);
    }
    public static GatherSoulPropertyConfig GetGatherSoulProperty(string _key)
    {
        return Config.Instance.Get<GatherSoulPropertyConfig>(_key);
    }
    public static KingTreasureItemConfig GetKingTreasureItem(string _key)
    {
        return Config.Instance.Get<KingTreasureItemConfig>(_key);
    }
    public static KingTreasureConfig GetKingTreasure(string _key)
    {
        return Config.Instance.Get<KingTreasureConfig>(_key);
    }
    public static AncientRobotNameConfig GetAncientRobotName(string _key)
    {
        return Config.Instance.Get<AncientRobotNameConfig>(_key);
    }
    public static ChatBubbleBoxConfig GetChatBubbleBox(string _key)
    {
        return Config.Instance.Get<ChatBubbleBoxConfig>(_key);