static int OnMatchTimeUp(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        MatchStatePlaying obj = (MatchStatePlaying)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlaying");

        obj.OnMatchTimeUp();
        return(0);
    }
    static int GameUpdate(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MatchStatePlaying obj = (MatchStatePlaying)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlaying");

        IM.Number arg0 = (IM.Number)LuaScriptMgr.GetNetObject(L, 2, typeof(IM.Number));
        obj.GameUpdate(arg0);
        return(0);
    }
    static int OnEnter(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MatchStatePlaying obj  = (MatchStatePlaying)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlaying");
        MatchState        arg0 = (MatchState)LuaScriptMgr.GetNetObject(L, 2, typeof(MatchState));

        obj.OnEnter(arg0);
        return(0);
    }
    static int OnEvent(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 4);
        MatchStatePlaying obj = (MatchStatePlaying)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStatePlaying");

        PlayerActionEventHandler.AnimEvent arg0 = (PlayerActionEventHandler.AnimEvent)LuaScriptMgr.GetNetObject(L, 2, typeof(PlayerActionEventHandler.AnimEvent));
        Player arg1 = (Player)LuaScriptMgr.GetNetObject(L, 3, typeof(Player));
        object arg2 = LuaScriptMgr.GetVarObject(L, 4);

        obj.OnEvent(arg0, arg1, arg2);
        return(0);
    }
    static int _CreateMatchStatePlaying(IntPtr L)
    {
        int count = LuaDLL.lua_gettop(L);

        if (count == 1)
        {
            MatchStateMachine arg0 = (MatchStateMachine)LuaScriptMgr.GetNetObject(L, 1, typeof(MatchStateMachine));
            MatchStatePlaying obj  = new MatchStatePlaying(arg0);
            LuaScriptMgr.PushObject(L, obj);
            return(1);
        }
        else
        {
            LuaDLL.luaL_error(L, "invalid arguments to method: MatchStatePlaying.New");
        }

        return(0);
    }