Esempio n. 1
0
        protected override void Parse()
        {
            for (int i = 0; i < m_reader.Row; ++i)
            {
                m_reader.MarkRow(i);

                EquipmentMeta meta = new EquipmentMeta(m_reader.ReadInt());
                meta.NameKey = m_reader.ReadString();
                meta.Prefab  = m_reader.ReadString();
                meta.Type    = (EquipType)m_reader.ReadInt();
                meta.Method  = (EquipMethod)m_reader.ReadInt();

                EquipmentMetaManager.AddMeta(meta);
            }
        }
Esempio n. 2
0
 public static void AddMeta(EquipmentMeta meta)
 {
     m_dict.Add(meta.Id, meta);
 }