//解析配置
    public override void parseConfig(string str)
    {
        PrestigeSample be = new PrestigeSample(str);

        if (list == null)
        {
            list = new List <PrestigeSample> ();
        }
        list.Add(be);
    }
Exemple #2
0
    public Prestige(long exp)
    {
        this.exp = exp;

        level   = EXPSampleManager.Instance.getLevel(PrestigeManagerment.EXPSID, exp);
        sample  = PrestigeConfigManagerment.Instance.getPrestigeSampleByLevel(level);
        expDown = EXPSampleManager.Instance.getEXPDown(PrestigeManagerment.EXPSID, level);
        expUp   = EXPSampleManager.Instance.getEXPUp(PrestigeManagerment.EXPSID, level);
        expNow  = expUp - exp;
    }