static int _m_CanComposeEquip(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.BagConditionHelper __cl_gen_to_be_invoked = (xc.BagConditionHelper)translator.FastGetCSObj(L, 1); try { { System.Collections.Generic.List <uint> needEquips1 = (System.Collections.Generic.List <uint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <uint>)); System.Collections.Generic.List <uint> needEquips2 = (System.Collections.Generic.List <uint>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List <uint>)); System.Collections.Generic.List <uint> needEquips3 = (System.Collections.Generic.List <uint>)translator.GetObject(L, 4, typeof(System.Collections.Generic.List <uint>)); bool __cl_gen_ret = __cl_gen_to_be_invoked.CanComposeEquip(needEquips1, needEquips2, needEquips3); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.BagConditionHelper __cl_gen_ret = new xc.BagConditionHelper(); translator.Push(L, __cl_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 xc.BagConditionHelper constructor!")); }
static int _m_HasPetExpGoods(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.BagConditionHelper __cl_gen_to_be_invoked = (xc.BagConditionHelper)translator.FastGetCSObj(L, 1); try { { bool __cl_gen_ret = __cl_gen_to_be_invoked.HasPetExpGoods( ); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetPetTotalExp(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.BagConditionHelper __cl_gen_to_be_invoked = (xc.BagConditionHelper)translator.FastGetCSObj(L, 1); try { { ulong __cl_gen_ret = __cl_gen_to_be_invoked.GetPetTotalExp( ); LuaAPI.lua_pushuint64(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetAutoSwallowEquipList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.BagConditionHelper __cl_gen_to_be_invoked = (xc.BagConditionHelper)translator.FastGetCSObj(L, 1); try { { System.Collections.Generic.List <ulong> __cl_gen_ret = __cl_gen_to_be_invoked.GetAutoSwallowEquipList( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }