pickup combining, almost finish shadow stones, fix some bugs with gadgets, clean up some code.
This commit is contained in:
Milxnor
2023-05-02 23:48:05 -04:00
parent 3b0f0ad4e1
commit f49f166c2d
27 changed files with 574 additions and 216 deletions

View File

@@ -139,10 +139,24 @@ public:
FGhostModeRepData* GetGhostModeRepData()
{
static auto GhostModeRepDataOffset = GetOffset("GhostModeRepData");
static auto GhostModeRepDataOffset = GetOffset("GhostModeRepData", false);
if (GhostModeRepDataOffset == -1)
return nullptr;
return GetPtr<FGhostModeRepData>(GhostModeRepDataOffset);
}
bool IsInGhostMode()
{
auto GhostModeRepData = GetGhostModeRepData();
if (!GhostModeRepData)
return false;
return GhostModeRepData->IsInGhostMode();
}
UAthenaMarkerComponent* GetMarkerComponent()
{
static auto MarkerComponentOffset = GetOffset("MarkerComponent");