static int OnExit(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); MatchStatePlayerCloseUp obj = (MatchStatePlayerCloseUp)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlayerCloseUp"); obj.OnExit(); return(0); }
static int GameUpdate(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); MatchStatePlayerCloseUp obj = (MatchStatePlayerCloseUp)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlayerCloseUp"); IM.Number arg0 = (IM.Number)LuaScriptMgr.GetNetObject(L, 2, typeof(IM.Number)); obj.GameUpdate(arg0); return(0); }
static int ViewUpdate(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); MatchStatePlayerCloseUp obj = (MatchStatePlayerCloseUp)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlayerCloseUp"); float arg0 = (float)LuaScriptMgr.GetNumber(L, 2); obj.ViewUpdate(arg0); return(0); }
static int OnEnter(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); MatchStatePlayerCloseUp obj = (MatchStatePlayerCloseUp)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlayerCloseUp"); MatchState arg0 = (MatchState)LuaScriptMgr.GetNetObject(L, 2, typeof(MatchState)); obj.OnEnter(arg0); return(0); }
static int IsCommandValid(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); MatchStatePlayerCloseUp obj = (MatchStatePlayerCloseUp)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlayerCloseUp"); Command arg0 = (Command)LuaScriptMgr.GetNetObject(L, 2, typeof(Command)); bool o = obj.IsCommandValid(arg0); LuaScriptMgr.Push(L, o); return(1); }
static int _CreateMatchStatePlayerCloseUp(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 1) { MatchStateMachine arg0 = (MatchStateMachine)LuaScriptMgr.GetNetObject(L, 1, typeof(MatchStateMachine)); MatchStatePlayerCloseUp obj = new MatchStatePlayerCloseUp(arg0); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: MatchStatePlayerCloseUp.New"); } return(0); }