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); } }
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); } }