clangd :)

This commit is contained in:
YesseYesseY
2025-04-11 23:40:08 +02:00
parent 37749ebb04
commit 23f215cc0c
4 changed files with 36 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ public:
float& GetMinNetUpdateFrequency();
const AActor* GetNetOwner() const;
void GetActorEyesViewPoint(FVector* OutLocation, FRotator* OutRotation) const;
AActor* GetClosestActor(UClass* ActorClass, float DistMax, std::function<bool(AActor*)> AdditionalCheck = [&](AActor*) { return true; });
AActor* GetClosestActor(UClass* ActorClass, float DistMax, std::function<bool(AActor*)> AdditionalCheck = [](AActor*) { return true; });
bool IsRelevancyOwnerFor(const AActor* ReplicatedActor, const AActor* ActorOwner, const AActor* ConnectionActor) const
{
@@ -68,4 +68,4 @@ public:
}
static class UClass* StaticClass();
};
};

View File

@@ -1,7 +1,7 @@
#pragma once
#include "Actor.h"
#include "TSubClassOf.h"
#include "TSubclassOf.h"
class APawn : public AActor
{
@@ -23,4 +23,4 @@ public:
static auto AIControllerClassOffset = GetOffset("AIControllerClass");
return Get<TSubclassOf<class AController>>(AIControllerClassOffset);
}
};
};

View File

@@ -36,7 +36,8 @@ template <typename SetType>
class TSet
{
private:
friend TSparseArray;
template <typename>
friend class TSparseArray;
public:
typedef TSetElement<SetType> ElementType;
@@ -217,4 +218,4 @@ public:
mutable TInlineAllocator<1>::ForElementType<int> Hash;
mutable int32 HashSize;
}; */
}; */