artificial intelligence

proper *****, work on ai, organize some things
This commit is contained in:
Milxnor
2023-05-14 13:51:58 -04:00
parent a94005805c
commit ec30c7ecf8
25 changed files with 422 additions and 68 deletions

View File

@@ -0,0 +1,37 @@
#pragma once
#include "reboot.h"
#include "GameplayStatics.h"
class ABP_IslandScripting_C : public AActor // AFortAlwaysRelevantReplicatedActor
{
public:
bool& IsDeimosActive()
{
static auto IsDeimosActiveOffset = GetOffset("IsDeimosActive");
return Get<bool>(IsDeimosActiveOffset);
}
void OnRep_IsDeimosActive()
{
static auto OnRep_IsDeimosActiveFn = FindObject<UFunction>("/Game/Athena/Prototype/Blueprints/Island/BP_IslandScripting.BP_IslandScripting_C.OnRep_IsDeimosActive");
this->ProcessEvent(OnRep_IsDeimosActiveFn);
}
void OnRep_UpdateMap()
{
static auto OnRep_UpdateMapFn = FindObject<UFunction>("/Game/Athena/Prototype/Blueprints/Island/BP_IslandScripting.BP_IslandScripting_C.OnRep_UpdateMap");
this->ProcessEvent(OnRep_UpdateMapFn);
}
void Initialize();
static ABP_IslandScripting_C* GetIslandScripting();
static UClass* StaticClass()
{
/* static */ auto Class = FindObject<UClass>("/Game/Athena/Prototype/Blueprints/Island/BP_IslandScripting.BP_IslandScripting_C");
return Class;
}
};