static int OnEnter(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MatchStateShowRule obj  = (MatchStateShowRule)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStateShowRule");
        MatchState         arg0 = (MatchState)LuaScriptMgr.GetNetObject(L, 2, typeof(MatchState));

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

        IM.Number arg0 = (IM.Number)LuaScriptMgr.GetNetObject(L, 2, typeof(IM.Number));
        obj.GameUpdate(arg0);
        return(0);
    }
    static int IsCommandValid(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MatchStateShowRule obj  = (MatchStateShowRule)LuaScriptMgr.GetNetObjectSelf(L, 1, "MatchStateShowRule");
        Command            arg0 = (Command)LuaScriptMgr.GetNetObject(L, 2, typeof(Command));
        bool o = obj.IsCommandValid(arg0);

        LuaScriptMgr.Push(L, o);
        return(1);
    }
    static int _CreateMatchStateShowRule(IntPtr L)
    {
        int count = LuaDLL.lua_gettop(L);

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

        return(0);
    }