static int _m_GetGcNID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GateServer.GSUserMgr __cl_gen_to_be_invoked = (GateServer.GSUserMgr)translator.FastGetCSObj(L, 1); { uint sid = LuaAPI.xlua_touint(L, 2); ulong gcNID; bool __cl_gen_ret = __cl_gen_to_be_invoked.GetGcNID(sid, out gcNID); LuaAPI.lua_pushboolean(L, __cl_gen_ret); LuaAPI.lua_pushuint64(L, gcNID); return(2); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _g_get_count(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GateServer.GSUserMgr __cl_gen_to_be_invoked = (GateServer.GSUserMgr)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, __cl_gen_to_be_invoked.count); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { GateServer.GSUserMgr __cl_gen_ret = new GateServer.GSUserMgr(); 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 GateServer.GSUserMgr constructor!")); }
static int _m_HasClient(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GateServer.GSUserMgr __cl_gen_to_be_invoked = (GateServer.GSUserMgr)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 2 && (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isuint64(L, 2))) { ulong gcNID = LuaAPI.lua_touint64(L, 2); bool __cl_gen_ret = __cl_gen_to_be_invoked.HasClient(gcNID); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { uint sid = LuaAPI.xlua_touint(L, 2); bool __cl_gen_ret = __cl_gen_to_be_invoked.HasClient(sid); LuaAPI.lua_pushboolean(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 GateServer.GSUserMgr.HasClient!")); }
static int _m_LS(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GateServer.GSUserMgr __cl_gen_to_be_invoked = (GateServer.GSUserMgr)translator.FastGetCSObj(L, 1); { string __cl_gen_ret = __cl_gen_to_be_invoked.LS( ); LuaAPI.lua_pushstring(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }