static int _s_set_Id(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.SocietyManagerEx.MemberInfo __cl_gen_to_be_invoked = (xc.SocietyManagerEx.MemberInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Id = 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_Name(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.SocietyManagerEx.MemberInfo __cl_gen_to_be_invoked = (xc.SocietyManagerEx.MemberInfo)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.Name); } 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) == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { uint id = LuaAPI.xlua_touint(L, 2); string name = LuaAPI.lua_tostring(L, 3); xc.SocietyManagerEx.MemberInfo __cl_gen_ret = new xc.SocietyManagerEx.MemberInfo(id, name); 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.SocietyManagerEx.MemberInfo constructor!")); }
static int _m_GetMemberInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.SocietyManagerEx __cl_gen_to_be_invoked = (xc.SocietyManagerEx)translator.FastGetCSObj(L, 1); try { { uint uuid = LuaAPI.xlua_touint(L, 2); xc.SocietyManagerEx.MemberInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetMemberInfo(uuid); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }