Example #1
0
        public virtual void Read(BlamLib.IO.EndianReader s)
        {
            int entries_count = s.ReadInt32();

            m_entries = new List <PakFileEntry>(entries_count);
            for (int x = 0; x < m_entries.Count; x++)
            {
                var entry = new PakFileEntry();
                entry.Read(s);

                m_entries.Add(entry);
            }
        }
Example #2
0
		public virtual void Read(BlamLib.IO.EndianReader s)
		{
			int entries_count = s.ReadInt32();
			m_entries = new List<PakFileEntry>(entries_count);
			for (int x = 0; x < m_entries.Count; x++)
			{
				var entry = new PakFileEntry();
				entry.Read(s);

				m_entries.Add(entry);
			}
		}