// more fields can be added (see in visualGGPK) public StatRecord(Memory m, int addr) { Key = m.ReadStringU(m.ReadInt(addr + 0), 255); Unknown4 = m.ReadByte(addr + 4) != 0; Unknown5 = m.ReadByte(addr + 5) != 0; Unknown6 = m.ReadByte(addr + 6) != 0; Type = (StatType) m.ReadInt(addr + 7); UnknownB = m.ReadByte(addr + 0xB) != 0; UserFriendlyName = m.ReadStringU(m.ReadInt(addr + 0xC), 255); }
// more fields can be added (see in visualGGPK) public TagRecord(Memory m, int addr) { Key = m.ReadStringU(m.ReadInt(addr + 0), 255); Hash = m.ReadInt(addr + 4); }