//解析模板数据 public override void parseSample(int sid) { FestivalWishSample sample = new FestivalWishSample(); string dataStr = getSampleDataBySid(sid); sample.parse(sid, dataStr); samples.Add(sid, sample); }
public FestivalWish(int sid) { this.sid = sid; this.sample = FestivalWishSampleManager.Instance.getFestivalWishSampleBySid(sid); }