mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
Give bot skins
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "Object.h"
|
||||
#include "FortPlayerPawnAthena.h"
|
||||
#include "FortAthenaAIBotCustomizationData.h"
|
||||
#include "FortAthenaMutator_Bots.h"
|
||||
|
||||
struct FFortAthenaAIBotRunTimeCustomizationData
|
||||
{
|
||||
@@ -16,5 +17,11 @@ class UFortServerBotManagerAthena : public UObject
|
||||
public:
|
||||
static inline AFortPlayerPawnAthena* (*SpawnBotOriginal)(UFortServerBotManagerAthena* BotManager, FVector InSpawnLocation, FRotator InSpawnRotation, UFortAthenaAIBotCustomizationData* InBotData, FFortAthenaAIBotRunTimeCustomizationData InRuntimeBotData);
|
||||
|
||||
AFortAthenaMutator_Bots*& GetCachedBotMutator()
|
||||
{
|
||||
static auto CachedBotMutatorOffset = GetOffset("CachedBotMutator");
|
||||
return Get<AFortAthenaMutator_Bots*>(CachedBotMutatorOffset);
|
||||
}
|
||||
|
||||
static AFortPlayerPawnAthena* SpawnBotHook(UFortServerBotManagerAthena* BotManager, FVector& InSpawnLocation, FRotator& InSpawnRotation, UFortAthenaAIBotCustomizationData* InBotData, FFortAthenaAIBotRunTimeCustomizationData* InRuntimeBotData);
|
||||
};
|
||||
Reference in New Issue
Block a user