Esempio n. 1
0
    public int GetScoreTime(int index)
    {
        int             result          = 0;
        JTongGuanPingJi jTongGuanPingJi = DataReader <JTongGuanPingJi> .Get(index);

        if (jTongGuanPingJi != null)
        {
            result = jTongGuanPingJi.time;
        }
        return(result);
    }
Esempio n. 2
0
    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));
    }