private void OnGetAwardCallBack(MissionAwardsRes res) { LoadingOverlay.Instance.Hide(); _missionModel.ReplaceUserMission(res.UserMission, _replaceId); // _missionModel.UserMissionList.Sort(); RewardUtil.AddReward(res.Awards); //领取奖励后要根据规则刷新道具之类的。 _missionModel.UpdateUserMissionInfo(res.UserMissionInfo); View.SetData(_missionModel, (int)_curPlayerPb); FlowText.ShowMessage(I18NManager.Get("Task_ReceiveRewardSuccess")); foreach (var award in res.Awards) { if (award.Resource == ResourcePB.Gem) { SdkHelper.StatisticsAgent.OnReward(award.Num, "星路里程"); } } SendMessage(new Message(MessageConst.TO_GUIDE_ACHIEVEMENT_NEXT_STEP)); }