示例#1
0
文件: PK7.cs 项目: Zovrah/PKHeX
 public PK7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, Format);
     if (Data.Length != SIZE_PARTY)
         Array.Resize(ref Data, SIZE_PARTY);
 }
示例#2
0
 public PB7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, 7);
     if (Data.Length != SIZE)
     {
         Array.Resize(ref Data, SIZE);
     }
 }
示例#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);
     }
 }
示例#4
0
文件: PB7.cs 项目: 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);
     }
 }