diff --git a/titanfall2-rp/Titanfall2API.cs b/titanfall2-rp/Titanfall2API.cs index a956a8f..783b9b6 100644 --- a/titanfall2-rp/Titanfall2API.cs +++ b/titanfall2-rp/Titanfall2API.cs @@ -75,6 +75,12 @@ public bool IsPlayerInTitan() return _sharp!.Memory.Read(_engineDllBaseAddress + 0x111E18DC) != 0; } + public Titan GetTitan() + { + _ensureInit(); + return TitanMethods.GetTitan(_sharp!.Memory.Read(_engineDllBaseAddress + 0x7A7429,1)[0]); + } + public int GetPlayerVelocity() { _ensureInit();