예제 #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);
            }
        }
예제 #2
0
        protected override void Parse()
        {
            for (int i = 0; i < m_reader.Row; ++i)
            {
                m_reader.MarkRow(i);
                if (i == 0)
                {
                    continue;
                }

                WeaponMeta meta = new WeaponMeta(m_reader.ReadInt());
                meta.NameKey         = m_reader.ReadString();
                meta.WeaponType      = (WeaponType)m_reader.ReadInt();
                meta.Prefab          = m_reader.ReadString();
                meta.Effect          = m_reader.ReadString();
                meta.OnEquipedEffect = m_reader.ReadString();
                meta.Damage          = m_reader.ReadInt();

                EquipmentMetaManager.AddMeta(meta);
            }
        }