public AssetPackEntryTable() { Flags = 0; ScreenshotCount = 0; for (var i = 0; i < Entries.Length; i++) { Entries[i] = new AssetPackEntry(); } }
public AssetPackEntryTable(byte[] data, int offset) { Flags = Swap(BitConverter.ToUInt32(data, offset)); ScreenshotCount = Swap(BitConverter.ToUInt32(data, offset + 4)); offset += 8; for (var i = 0; i < Entries.Length; i++, offset += 64) { Entries[i] = new AssetPackEntry(data, offset); } }