private void UpdatePlayerBirthdayRefresh(int obj) { var refreshTimeStamp = _missionModel.GetPlayerBirthdayRefreshTimePointList()[_missionModel.GetPlayerBirthdayOpenDay()]; var curTimeStamp = ClientTimer.Instance.GetCurrentTimeStamp(); var overTimeStamp = _missionModel.GetPlayerBirthdayOverTimeStamp(); if (curTimeStamp == overTimeStamp) { ModuleManager.Instance.GoBack(); return; } if (refreshTimeStamp == curTimeStamp) { MissionRefreshReq req = new MissionRefreshReq(); var data = NetWorkManager.GetByteData(req); NetWorkManager.Instance.Send <MissionRefreshRes>(CMD.MISSION_REFRESH, data, res => { _missionModel.UpdateUserMissionInfo(res.UserMissionInfo); _missionModel.UpdatePlayerBirthdayMission(res.UserMissions); _missionModel.PlayerBirthdayMissionsDay = _missionModel.GetPlayerBirthdayOpenDay(); View.SetData(_missionModel, _missionModel.PlayerBirthdayMissionsDay); }); } }