Exemple #1
0
 public PK4(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted45(ref data);
     if (data.Length != PokeCrypto.SIZE_4PARTY)
     {
         Array.Resize(ref data, PokeCrypto.SIZE_4PARTY);
     }
     Data = data;
 }
Exemple #2
0
 private static byte[] DecryptParty(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted45(ref data);
     Array.Resize(ref data, PokeCrypto.SIZE_5PARTY);
     return(data);
 }
Exemple #3
0
 public PK4(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted45(ref data);
     Array.Resize(ref data, PokeCrypto.SIZE_4PARTY);
     Data = data;
 }