static int _Createfogs_proto_msg_QualifyingNewerInfo(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 0) { fogs.proto.msg.QualifyingNewerInfo obj = new fogs.proto.msg.QualifyingNewerInfo(); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: fogs.proto.msg.QualifyingNewerInfo.New"); } return(0); }
static int set_league_end_time(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); fogs.proto.msg.QualifyingNewerInfo obj = (fogs.proto.msg.QualifyingNewerInfo)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name league_end_time"); } else { LuaDLL.luaL_error(L, "attempt to index league_end_time on a nil value"); } } obj.league_end_time = (uint)LuaScriptMgr.GetNumber(L, 3); return(0); }
static int get_win_times(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); fogs.proto.msg.QualifyingNewerInfo obj = (fogs.proto.msg.QualifyingNewerInfo)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name win_times"); } else { LuaDLL.luaL_error(L, "attempt to index win_times on a nil value"); } } LuaScriptMgr.Push(L, obj.win_times); return(1); }