void UpdateDissmgsRoomApply(LocalNotification e) { ArgsDissmissRoomApplyer args = e.param as ArgsDissmissRoomApplyer; ulong pId = args.playerId; List <ulong> playerList = new List <ulong>(); playerList.Add(pId); ContextManager.Instance.Push(new VoteDismissViewContext()); UIManagers.Instance.GetSingleUI(UIType.VoteDismissView).GetComponent <UIVoteDismissView>().InitData(pId, playerList /*, args.voteTime*/); }
void RecevRoomApply(MsgGlobal msg) { MsgDisRoomInfo data = msg.dis_room_info; ulong pid = data.voteFirst; //(uint)msg.ReadUInt64(); //发起投票人 Debug.Log("RecevRoomApply :" + ">>>pid:" + pid); ArgsDissmissRoomApplyer args = new ArgsDissmissRoomApplyer(); args.playerId = (uint)pid; args.voteTime = data.voteTime; NotificationCenter.Instance().PostDispatchEvent((uint)ENotificationMsgType.EDissmisRoomApply, args); }