public void SetGridInfo(int id, RewardAchievementData data, int process, bool isShare = true, bool isFinshed = false, bool isRunning = false) { AttributeRewardGridData ad = new AttributeRewardGridData(); ad.Quest = LanguageData.dataMap[data.text].Format(data.args[0]); ad.SignFGName = "bb_zuanshi"; ad.SignText = data.diamond.ToString(); ad.Title = LanguageData.dataMap[data.title].content; // ЗўЮёЦїЪ§Он // if () ad.ProcessStatus = process * 100 / data.args[0] > 100 ? 100 : process * 100 / data.args[0]; ad.ProcessText = process + "/" + data.args[0]; ad.IsShare = isShare; ad.IsFinshed = isFinshed; ad.IsRunning = isRunning; AttributeRewardUIViewManager.Instance.AddAttributeGrid(ad, id); }