Example #1
0
 public string[] GetPlayerNames()
 {
     string[] trainers = new string[PlayerCount];
     for (int i = 0; i < PlayerCount; i++)
     {
         var str = StringConverter.GetString7(Data, 0x12C + (0x1A * i), 0x1A);
         trainers[i] = string.IsNullOrWhiteSpace(trainers[i]) ? NPC : str;
     }
     return(trainers);
 }
Example #2
0
 private string GetString(int Offset, int Count) => StringConverter.GetString7(Data, Offset, Count);
Example #3
0
 public override string GetString(byte[] data, int offset, int length) => StringConverter.GetString7(data, offset, length);
Example #4
0
 public override string GetString(int Offset, int Count) => StringConverter.GetString7(Data, Offset, Count);
Example #5
0
 private string GetString(int offset, int count) => StringConverter.GetString7(Data, offset, count);