static int _s_set_BaptizeNeedLv(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.BaptizeNeedLv = LuaAPI.xlua_touint(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_ReachMaxStrengthLv(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.ReachMaxStrengthLv); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_BaptizeInfos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.BaptizeInfos = (System.Collections.Generic.Dictionary <uint, xc.EquipBaptizeInfo>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, xc.EquipBaptizeInfo>)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_AllBaptizeAttr(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.AllBaptizeAttr = (xc.ActorAttribute)translator.GetObject(L, 2, typeof(xc.ActorAttribute)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_StrengthShowRedPointGoods(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.StrengthShowRedPointGoods = (Net.PkgGoodsGidnum)translator.GetObject(L, 2, typeof(Net.PkgGoodsGidnum)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_BaptizeInfos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.EquipPosInfo __cl_gen_to_be_invoked = (xc.EquipPosInfo)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.BaptizeInfos); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.EquipPosInfo __cl_gen_ret = new xc.EquipPosInfo(); 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.EquipPosInfo constructor!")); }
static int _m_SetOtherPlayerEquipPosInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1); try { { xc.EquipPosInfo equipPosInfo = (xc.EquipPosInfo)translator.GetObject(L, 2, typeof(xc.EquipPosInfo)); __cl_gen_to_be_invoked.SetOtherPlayerEquipPosInfo(equipPosInfo); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetOtherPlayerEquipPosInfos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.MainmapManager __cl_gen_to_be_invoked = (xc.MainmapManager)translator.FastGetCSObj(L, 1); try { { uint pos = LuaAPI.xlua_touint(L, 2); xc.EquipPosInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOtherPlayerEquipPosInfos(pos); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }