public int GetScoreTime(int index) { int result = 0; JTongGuanPingJi jTongGuanPingJi = DataReader <JTongGuanPingJi> .Get(index); if (jTongGuanPingJi != null) { result = jTongGuanPingJi.time; } return(result); }
public string GetScoreRewardText(int index) { string empty = string.Empty; int num = 0; JTongGuanPingJi jTongGuanPingJi = DataReader <JTongGuanPingJi> .Get(index); if (jTongGuanPingJi != null) { num = (int)(jTongGuanPingJi.ratio * 100f); } return(string.Format(GameDataUtils.GetChineseContent(505413, false), num)); }