コード例 #1
0
    public void prev(int step = 1)
    {
        int id = current / 3;

        if (id >= step)
        {
            id -= step;
        }
        else
        {
            id = 0;
        }

        NetMgr       net = NetMgr.GetInstance();
        PomeloClient pc  = net.pc;

        pc.flush();

        RoomMgr rm = RoomMgr.GetInstance();

        rm.prepareReplay(mRoom, mBaseInfo);
        mCount = mBaseInfo.mahjongs.Count;

        gotoAction(id);
    }