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

        obj.OnExit();
        return(0);
    }
    static int OnEnter(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        PlayerState_BackToBackForward obj = (PlayerState_BackToBackForward)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerState_BackToBackForward");
        PlayerState arg0 = (PlayerState)LuaScriptMgr.GetNetObject(L, 2, typeof(PlayerState));

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

        IM.Number arg0 = (IM.Number)LuaScriptMgr.GetNetObject(L, 2, typeof(IM.Number));
        obj.Update(arg0);
        return(0);
    }
    static int _CreatePlayerState_BackToBackForward(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_BackToBackForward obj  = new PlayerState_BackToBackForward(arg0, arg1);
            LuaScriptMgr.PushObject(L, obj);
            return(1);
        }
        else
        {
            LuaDLL.luaL_error(L, "invalid arguments to method: PlayerState_BackToBackForward.New");
        }

        return(0);
    }