protected override void Parse() { for (int i = 0; i < m_reader.Row; ++i) { m_reader.MarkRow(i); ActorMeta meta = new ActorMeta(m_reader.ReadInt()); meta.NameKey = m_reader.ReadString(); meta.Address = m_reader.ReadString(); meta.SubClass = (ActorClass)m_reader.ReadInt(); meta.SubRace = (ActorRace)m_reader.ReadInt(); meta.DeadExp = m_reader.ReadInt(); meta.HealthRank = m_reader.ReadFloat(); ActorMetaManager.AddMeta(meta); } }
public static void AddMeta(ActorMeta meta) { m_dict.Add(meta.Id, meta); }