This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
using UnityEngine.UI; | |
[Serializable] | |
public class GeoCountry | |
{ | |
public string status; | |
public string country; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
pbo is the pbo pointer from the pbo list (eg. 'Mem.ReadPtr(pboList + 0 * 0x8);' gets the first pbo) | |
*/ | |
public string GetPboName(ulong pbo) | |
{ | |
int aStrPtr = Mem.ReadPtr(pbo + 0x20); // not sure if changed, find on reclass | |
string path = Mem.ReadArmaString(aStrPtr); | |
return Path.GetFileName(path); | |
} |