static int OnEnter(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); PlayerState_Stand obj = (PlayerState_Stand)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerState_Stand"); PlayerState arg0 = (PlayerState)LuaScriptMgr.GetNetObject(L, 2, typeof(PlayerState)); obj.OnEnter(arg0); return(0); }
static int Update(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); PlayerState_Stand obj = (PlayerState_Stand)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerState_Stand"); IM.Number arg0 = (IM.Number)LuaScriptMgr.GetNetObject(L, 2, typeof(IM.Number)); obj.Update(arg0); return(0); }
static int _CreatePlayerState_Stand(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2) { PlayerStateMachine arg0 = (PlayerStateMachine)LuaScriptMgr.GetNetObject(L, 1, typeof(PlayerStateMachine)); GameMatch arg1 = (GameMatch)LuaScriptMgr.GetNetObject(L, 2, typeof(GameMatch)); PlayerState_Stand obj = new PlayerState_Stand(arg0, arg1); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: PlayerState_Stand.New"); } return(0); }