Exemplo n.º 1
0
Arquivo: PK7.cs Projeto: Zovrah/PKHeX
 public PK7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, Format);
     if (Data.Length != SIZE_PARTY)
         Array.Resize(ref Data, SIZE_PARTY);
 }
Exemplo n.º 2
0
 public PB7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, 7);
     if (Data.Length != SIZE)
     {
         Array.Resize(ref Data, SIZE);
     }
 }
Exemplo n.º 3
0
 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);
     }
 }
Exemplo n.º 4
0
Arquivo: PB7.cs Projeto: Metryra/PKHeX
 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);
     }
 }