mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
great
pickup combining, almost finish shadow stones, fix some bugs with gadgets, clean up some code.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user