From ce7eb84d1cbb803d3a8a2519a48db82d80b8d3eb Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期日, 30 十二月 2018 13:20:12 +0800
Subject: [PATCH] 3335 更新xlua接口
---
Lua/Gen/ConfigUtilWrap.cs | 256 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 254 insertions(+), 2 deletions(-)
diff --git a/Lua/Gen/ConfigUtilWrap.cs b/Lua/Gen/ConfigUtilWrap.cs
index 1fe0384..d5d685c 100644
--- a/Lua/Gen/ConfigUtilWrap.cs
+++ b/Lua/Gen/ConfigUtilWrap.cs
@@ -31,8 +31,17 @@
Utils.EndObjectRegister(type, L, translator, null, null,
null, null, null);
- Utils.BeginClassRegister(type, L, __CreateInstance, 172, 0, 0);
- Utils.RegisterFunc(L, Utils.CLS_IDX, "GetChatBubbleBox", _m_GetChatBubbleBox_xlua_st_);
+ Utils.BeginClassRegister(type, L, __CreateInstance, 181, 0, 0);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCrossServerArena", _m_GetCrossServerArena_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFuncSwitch", _m_GetFuncSwitch_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoul", _m_GetGatherSoul_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoulCompose", _m_GetGatherSoulCompose_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDungeonHelpBattle", _m_GetDungeonHelpBattle_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoulProperty", _m_GetGatherSoulProperty_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKingTreasureItem", _m_GetKingTreasureItem_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKingTreasure", _m_GetKingTreasure_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAncientRobotName", _m_GetAncientRobotName_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "GetChatBubbleBox", _m_GetChatBubbleBox_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetIceLodeStarAward", _m_GetIceLodeStarAward_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMarketQuery", _m_GetMarketQuery_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGodWeaponEffect", _m_GetGodWeaponEffect_xlua_st_);
@@ -226,6 +235,249 @@
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetCrossServerArena_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.CrossServerArenaConfig gen_ret = ConfigUtil.GetCrossServerArena( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetFuncSwitch_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.FuncSwitchConfig gen_ret = ConfigUtil.GetFuncSwitch( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetGatherSoul_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.GatherSoulConfig gen_ret = ConfigUtil.GetGatherSoul( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetGatherSoulCompose_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.GatherSoulComposeConfig gen_ret = ConfigUtil.GetGatherSoulCompose( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetDungeonHelpBattle_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.DungeonHelpBattleConfig gen_ret = ConfigUtil.GetDungeonHelpBattle( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetGatherSoulProperty_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.GatherSoulPropertyConfig gen_ret = ConfigUtil.GetGatherSoulProperty( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetKingTreasureItem_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.KingTreasureItemConfig gen_ret = ConfigUtil.GetKingTreasureItem( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetKingTreasure_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.KingTreasureConfig gen_ret = ConfigUtil.GetKingTreasure( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetAncientRobotName_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+
+
+ {
+ string __key = LuaAPI.lua_tostring(L, 1);
+
+ TableConfig.AncientRobotNameConfig gen_ret = ConfigUtil.GetAncientRobotName( __key );
+ translator.Push(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetChatBubbleBox_xlua_st_(RealStatePtr L)
{
try {
--
Gitblit v1.8.0