mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a bit
start work on vending machines, fix some playlist specific things, fixed a bug with <s5 playlist looting,
This commit is contained in:
@@ -9,20 +9,20 @@
|
||||
|
||||
} */
|
||||
|
||||
UObject*& AFortGameStateAthena::GetCurrentPlaylist()
|
||||
UFortPlaylist*& AFortGameStateAthena::GetCurrentPlaylist()
|
||||
{
|
||||
static auto CurrentPlaylistInfoOffset = GetOffset("CurrentPlaylistInfo", false);
|
||||
|
||||
if (CurrentPlaylistInfoOffset == -1)
|
||||
{
|
||||
static auto CurrentPlaylistDataOffset = GetOffset("CurrentPlaylistData");
|
||||
return Get(CurrentPlaylistDataOffset);
|
||||
return Get<UFortPlaylist*>(CurrentPlaylistDataOffset);
|
||||
}
|
||||
|
||||
auto CurrentPlaylistInfo = this->GetPtr<FFastArraySerializer>(CurrentPlaylistInfoOffset);
|
||||
|
||||
static auto BasePlaylistOffset = FindOffsetStruct("/Script/FortniteGame.PlaylistPropertyArray", "BasePlaylist");
|
||||
return *(UObject**)(__int64(CurrentPlaylistInfo) + BasePlaylistOffset);
|
||||
return *(UFortPlaylist**)(__int64(CurrentPlaylistInfo) + BasePlaylistOffset);
|
||||
}
|
||||
|
||||
int AFortGameStateAthena::GetAircraftIndex(AFortPlayerState* PlayerState)
|
||||
|
||||
Reference in New Issue
Block a user