#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; namespace XLua.CSObjectWrap { using Utils = XLua.Utils; public class SnxxzUIPackSendQuestMgrWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.PackSendQuestMgr); Utils.BeginObjectRegister(type, L, translator, 0, 22, 5, 2); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutOnQuest", _m_SendPutOnQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckEquipUselimit", _m_CheckEquipUselimit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckSuitReplaceInfo", _m_CheckSuitReplaceInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutOffQuest", _m_SendPutOffQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutInQuest", _m_SendPutInQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutOutQuest", _m_SendPutOutQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendUseItemQuest", _m_SendUseItemQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckItemUselimit", _m_CheckItemUselimit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckUseCondition", _m_CheckUseCondition); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOfflineMaxNum", _m_GetOfflineMaxNum); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsMaxOfflineTime", _m_CheckIsMaxOfflineTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendMakeUseQuest", _m_SendMakeUseQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickSplitBtn", _m_OnClickSplitBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSplitQuest", _m_SendSplitQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutAwayQuest", _m_SendPutAwayQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClickInlayBtn", _m_ClickInlayBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClickComposeBtn", _m_ClickComposeBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSellQuest", _m_SendSellQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendDismantleQuest", _m_SendDismantleQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRenewalQuest", _m_SendRenewalQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetExtendGirdModel", _m_SetExtendGirdModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendOpenWarehouse", _m_SendOpenWarehouse); Utils.RegisterFunc(L, Utils.GETTER_IDX, "useItemModel", _g_get_useItemModel); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenCount", _g_get_OpenCount); Utils.RegisterFunc(L, Utils.GETTER_IDX, "packType", _g_get_packType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "Index", _g_get_Index); Utils.RegisterFunc(L, Utils.GETTER_IDX, "sendItemModel", _g_get_sendItemModel); Utils.RegisterFunc(L, Utils.SETTER_IDX, "useItemModel", _s_set_useItemModel); Utils.RegisterFunc(L, Utils.SETTER_IDX, "sendItemModel", _s_set_sendItemModel); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); Utils.EndClassRegister(type, L, translator); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if(LuaAPI.lua_gettop(L) == 1) { Snxxz.UI.PackSendQuestMgr gen_ret = new Snxxz.UI.PackSendQuestMgr(); translator.Push(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PackSendQuestMgr constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPutOnQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int _itemIndex = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendPutOnQuest( _equipPlace, _itemIndex ); return 0; } if(gen_param_count == 3&& translator.Assignable(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendPutOnQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PackSendQuestMgr.SendPutOnQuest!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckEquipUselimit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { TableConfig.ItemConfig _config = (TableConfig.ItemConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemConfig)); bool gen_ret = gen_to_be_invoked.CheckEquipUselimit( _config ); LuaAPI.lua_pushboolean(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_CheckSuitReplaceInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.CheckSuitReplaceInfo( _equipPlace ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPutOffQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendPutOffQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPutInQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendPutInQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPutOutQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendPutOutQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendUseItemQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); int _itemIndex = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendUseItemQuest( _btnType, _itemIndex ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckItemUselimit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { TableConfig.ItemConfig _config = (TableConfig.ItemConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemConfig)); bool gen_ret = gen_to_be_invoked.CheckItemUselimit( _config ); LuaAPI.lua_pushboolean(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_CheckUseCondition(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.CheckUseCondition( _itemModel ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetOfflineMaxNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); int gen_ret = gen_to_be_invoked.GetOfflineMaxNum( _itemModel ); LuaAPI.xlua_pushinteger(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_CheckIsMaxOfflineTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { int _useNum = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel)); bool gen_ret = gen_to_be_invoked.CheckIsMaxOfflineTime( _useNum, _itemModel ); LuaAPI.lua_pushboolean(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_SendMakeUseQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) { int _index = LuaAPI.xlua_tointeger(L, 2); int _useCnt = LuaAPI.xlua_tointeger(L, 3); int _extra = LuaAPI.xlua_tointeger(L, 4); gen_to_be_invoked.SendMakeUseQuest( _index, _useCnt, _extra ); return 0; } if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { int _index = LuaAPI.xlua_tointeger(L, 2); int _useCnt = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendMakeUseQuest( _index, _useCnt ); return 0; } if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _index = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SendMakeUseQuest( _index ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PackSendQuestMgr.SendMakeUseQuest!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnClickSplitBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.OnClickSplitBtn( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendSplitQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { string _guid = LuaAPI.lua_tostring(L, 2); int _splitCount = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendSplitQuest( _guid, _splitCount ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPutAwayQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendPutAwayQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClickInlayBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.ClickInlayBtn( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClickComposeBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); int _jumpId = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.ClickComposeBtn( _btnType, _jumpId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendSellQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SendSellQuest( _btnType, _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendDismantleQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SendDismantleQuest( _btnType, _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendRenewalQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { ItemWinBtnType _btnType;translator.Get(L, 2, out _btnType); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SendRenewalQuest( _btnType, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetExtendGirdModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable(L, 4)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); int _index = LuaAPI.xlua_tointeger(L, 3); PackType _type;translator.Get(L, 4, out _type); gen_to_be_invoked.SetExtendGirdModel( _openCount, _index, _type ); return 0; } if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); int _index = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SetExtendGirdModel( _openCount, _index ); return 0; } if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetExtendGirdModel( _openCount ); return 0; } if(gen_param_count == 1) { gen_to_be_invoked.SetExtendGirdModel( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PackSendQuestMgr.SetExtendGirdModel!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendOpenWarehouse(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SendOpenWarehouse( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_useItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.useItemModel); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OpenCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.OpenCount); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_packType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.packType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_Index(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Index); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_sendItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.sendItemModel); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_useItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); gen_to_be_invoked.useItemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_sendItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PackSendQuestMgr gen_to_be_invoked = (Snxxz.UI.PackSendQuestMgr)translator.FastGetCSObj(L, 1); gen_to_be_invoked.sendItemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } } }