This commit is contained in:
Gray
2025-07-18 21:19:00 -04:00
parent 62ffdccd42
commit 658012ead8
13 changed files with 56 additions and 24 deletions

View File

@@ -308,6 +308,12 @@ AActor* AActor::GetClosestActor(UClass* ActorClass, float DistMax, std::function
return TargetActor;
}
FName& AActor::GetNetDriverName()
{
static auto NetDriverNameOffset = GetOffset("NetDriverName");
return Get<FName>(NetDriverNameOffset);
}
bool AActor::IsAlwaysRelevant()
{
static auto bAlwaysRelevantOffset = GetOffset("bAlwaysRelevant");