public PK7(byte[] decryptedData) { Data = decryptedData; PKMConverter.CheckEncrypted(ref Data, Format); if (Data.Length != SIZE_PARTY) Array.Resize(ref Data, SIZE_PARTY); }
public PB7(byte[] decryptedData) { Data = decryptedData; PKMConverter.CheckEncrypted(ref Data, 7); if (Data.Length != SIZE) { Array.Resize(ref Data, SIZE); } }
public PK4(byte[] decryptedData = null, string ident = null) { Data = decryptedData ?? new byte[SIZE_PARTY]; PKMConverter.CheckEncrypted(ref Data); Identifier = ident; if (Data.Length != SIZE_PARTY) { Array.Resize(ref Data, SIZE_PARTY); } }
public PB7(byte[] decryptedData, string ident = null) { Data = decryptedData; PKMConverter.CheckEncrypted(ref Data, 7); Identifier = ident; if (Data.Length != SIZE) { Array.Resize(ref Data, SIZE); } }