Beispiel #1
0
    void RecevRoomRefuse(MsgGlobal msg)
    {
        uint pid = (uint)msg.actionId;

        Debug.Log("RecevRoomApply :" + ">>>pid:" + pid);
        ArgsDismissRoomApplyResult args = new ArgsDismissRoomApplyResult();

        args.playerId = pid;
        args.isAgree  = false;
        NotificationCenter.Instance().PostDispatchEvent((uint)ENotificationMsgType.ESingleDissRoomApplyResult, args);
    }
Beispiel #2
0
    void UpdatePlayerResult(LocalNotification e)
    {
        ArgsDismissRoomApplyResult msg = e.param as ArgsDismissRoomApplyResult;

        if (msg.playerId == PlayerInfo.Instance.mPlayerPid)
        {
            HadSelectedStatus();
        }
        //  msg.isAgree
        UpdateItemData(msg.playerId, msg.isAgree ? EDissmissRoomResult.EAgree : EDissmissRoomResult.EDisagree);
    }