mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Give bot skins
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "FortAbilitySet.h"
|
||||
#include "FortPlayerControllerAthena.h"
|
||||
#include "FortItemDefinition.h"
|
||||
#include "FortServerBotManagerAthena.h"
|
||||
|
||||
struct FAircraftFlightInfo
|
||||
{
|
||||
@@ -82,9 +83,8 @@ static inline UFortAbilitySet* GetPlayerAbilitySet()
|
||||
{
|
||||
// There are some variables that contain this but it changes through versions soo..
|
||||
|
||||
static auto GameplayAbilitySet = (UFortAbilitySet*)(Fortnite_Version >= 8.30
|
||||
? LoadObject(L"/Game/Abilities/Player/Generic/Traits/DefaultPlayer/GAS_AthenaPlayer.GAS_AthenaPlayer", UFortAbilitySet::StaticClass())
|
||||
: LoadObject(L"/Game/Abilities/Player/Generic/Traits/DefaultPlayer/GAS_DefaultPlayer.GAS_DefaultPlayer", UFortAbilitySet::StaticClass()));
|
||||
static auto GameplayAbilitySet = (Fortnite_Version >= 8.30 ? LoadObject<UFortAbilitySet>(L"/Game/Abilities/Player/Generic/Traits/DefaultPlayer/GAS_AthenaPlayer.GAS_AthenaPlayer")
|
||||
: LoadObject<UFortAbilitySet>(L"/Game/Abilities/Player/Generic/Traits/DefaultPlayer/GAS_DefaultPlayer.GAS_DefaultPlayer"));
|
||||
|
||||
return GameplayAbilitySet;
|
||||
}
|
||||
@@ -251,6 +251,12 @@ public:
|
||||
return Get<AFortSafeZoneIndicator*>(SafeZoneIndicatorOffset);
|
||||
}
|
||||
|
||||
UFortServerBotManagerAthena*& GetServerBotManager()
|
||||
{
|
||||
static auto ServerBotManagerOffset = GetOffset("ServerBotManager");
|
||||
return Get<UFortServerBotManagerAthena*>(ServerBotManagerOffset);
|
||||
}
|
||||
|
||||
AFortGameStateAthena* GetGameStateAthena()
|
||||
{
|
||||
return (AFortGameStateAthena*)GetGameState();
|
||||
|
||||
Reference in New Issue
Block a user