Esempio n. 1
0
    public override void Respond(string data)
    {
        MFRespondProtocol <MFJoinRoomRespond> rp = MFJsonSerialzator.DeSerialize <MFRespondProtocol <MFJoinRoomRespond> >(data);

        if (rp.data.refreshPage == 0)
        {
            MFPrepareRoomView.OnJoinRoomRespond(rp.header, rp.data);
            return;
        }

        MFUIMgr.GetUiInstance <MFPrepareRoomView>().RefreshPlayerList(rp.data.userList);
    }
Esempio n. 2
0
    public override void Respond(string data)
    {
        MFRespondProtocol <MFJoinRoomRespond> rp = MFJsonSerialzator.DeSerialize <MFRespondProtocol <MFJoinRoomRespond> >(data);

        MFPrepareRoomView.OnJoinRoomRespond(rp.header, rp.data);
    }