mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
a lot
fix 1.11 replication, fix some ltm specific stuff, start on shadow stones, fix some events not having foundations, fix s4-s6 gadgets, fix clear inventory on some versions
This commit is contained in:
@@ -1,8 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "Actor.h"
|
||||
|
||||
#include "Stack.h"
|
||||
|
||||
#include "ScriptInterface.h"
|
||||
#include "FortGameStateAthena.h"
|
||||
#include "GameplayStatics.h"
|
||||
|
||||
class AFortAthenaMutator : public AActor // AFortGameplayMutator
|
||||
{
|
||||
public:
|
||||
};
|
||||
static UClass* StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortAthenaMutator");
|
||||
return Class;
|
||||
}
|
||||
};
|
||||
|
||||
static inline void LoopMutators(std::function<void(AFortAthenaMutator*)> Callback)
|
||||
{
|
||||
auto AllMutators = UGameplayStatics::GetAllActorsOfClass(GetWorld(), AFortAthenaMutator::StaticClass());
|
||||
|
||||
for (int i = 0; i < AllMutators.Num(); i++)
|
||||
{
|
||||
Callback((AFortAthenaMutator*)AllMutators.at(i));
|
||||
}
|
||||
|
||||
AllMutators.Free();
|
||||
}
|
||||
Reference in New Issue
Block a user