a good update

Added a very useful debugging tool, made looting even more proper
This commit is contained in:
Milxnor
2023-05-09 22:37:04 -04:00
parent b64f569551
commit 3fb5c4671d
34 changed files with 612 additions and 169 deletions

View File

@@ -80,6 +80,12 @@ UFortPlaylist*& AFortGameStateAthena::GetCurrentPlaylist()
return *(UFortPlaylist**)(__int64(CurrentPlaylistInfo) + BasePlaylistOffset);
}
void AFortGameStateAthena::SetPlaylistId(UFortPlaylist* Playlist)
{
static auto CurrentPlaylistIdOffset = GetOffset("CurrentPlaylistId");
this->Get<int>(CurrentPlaylistIdOffset) = Playlist->GetPlaylistId();
}
int AFortGameStateAthena::GetAircraftIndex(AFortPlayerState* PlayerState)
{
// The function has a string in it but we can just remake lol