Esempio n. 1
0
    public override void parseSample(int sid)
    {
        LevelInfoSample sample  = new LevelInfoSample();
        string          dataStr = getSampleDataBySid(sid);

        sample.parse(sid, dataStr);
        samples.Add(sid, sample);
    }
Esempio n. 2
0
    public override void copy(object destObj)
    {
        base.copy(destObj);
        LevelInfoSample dest = destObj as LevelInfoSample;

        if (this.infos != null)
        {
            dest.infos = new string[this.infos.Length];
            for (int i = 0; i < this.infos.Length; i++)
            {
                dest.infos [i] = this.infos [i];
            }
        }
    }