Beispiel #1
0
 public PK3(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted3(ref data);
     if (data.Length != PokeCrypto.SIZE_3PARTY)
     {
         Array.Resize(ref data, PokeCrypto.SIZE_3PARTY);
     }
     Data = data;
 }
Beispiel #2
0
 private static byte[] DecryptParty(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted3(ref data);
     Array.Resize(ref data, PokeCrypto.SIZE_3PARTY);
     return(data);
 }
Beispiel #3
0
 public PK3(byte[] data)
 {
     PokeCrypto.DecryptIfEncrypted3(ref data);
     Array.Resize(ref data, PokeCrypto.SIZE_3PARTY);
     Data = data;
 }