From cb1eab9f0bd9517855ec6e2b5880fb93acb1adaf Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 29 十二月 2018 04:39:40 +0800
Subject: [PATCH] 3335 更新配置表lua读取接口

---
 Lua/LuaConfigUtility.cs |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/Lua/LuaConfigUtility.cs b/Lua/LuaConfigUtility.cs
index dae85a1..77b51b1 100644
--- a/Lua/LuaConfigUtility.cs
+++ b/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);

--
Gitblit v1.8.0