mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
clangd :)
This commit is contained in:
29
.clangd
Normal file
29
.clangd
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# NOTE: replace /home/yes with your home folder, it won't recognize ~ as the home folder
|
||||||
|
# I also have no idea what most flags after Wno-prgma-pack does. i kinda just built it in visual studio then copied flags
|
||||||
|
|
||||||
|
CompileFlags:
|
||||||
|
Compiler: clang-cl
|
||||||
|
Add:
|
||||||
|
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/um"
|
||||||
|
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/shared"
|
||||||
|
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/ucrt"
|
||||||
|
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/winrt"
|
||||||
|
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/km"
|
||||||
|
- "-I/home/yes/msvc/VC/Tools/MSVC/14.43.34808/atlmfc/include/"
|
||||||
|
- "-I/home/yes/msvc/VC/Tools/MSVC/14.43.34808/include/"
|
||||||
|
- "-I../vendor"
|
||||||
|
- "/std:c++latest"
|
||||||
|
- "-ferror-limit=0"
|
||||||
|
- "-Wno-pragma-pack"
|
||||||
|
- "/permissive-"
|
||||||
|
- "/EHsc"
|
||||||
|
- "/MT"
|
||||||
|
- "/GS"
|
||||||
|
- "/Gy"
|
||||||
|
- "Gm-"
|
||||||
|
- "/D _UNICODE"
|
||||||
|
- "/D UNICODE"
|
||||||
|
- "/fp:precise"
|
||||||
|
- "/Zc:wchar_t"
|
||||||
|
- "/Zc:forScope"
|
||||||
|
- "/Zc:inline"
|
||||||
@@ -53,7 +53,7 @@ public:
|
|||||||
float& GetMinNetUpdateFrequency();
|
float& GetMinNetUpdateFrequency();
|
||||||
const AActor* GetNetOwner() const;
|
const AActor* GetNetOwner() const;
|
||||||
void GetActorEyesViewPoint(FVector* OutLocation, FRotator* OutRotation) 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
|
bool IsRelevancyOwnerFor(const AActor* ReplicatedActor, const AActor* ActorOwner, const AActor* ConnectionActor) const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Actor.h"
|
#include "Actor.h"
|
||||||
#include "TSubClassOf.h"
|
#include "TSubclassOf.h"
|
||||||
|
|
||||||
class APawn : public AActor
|
class APawn : public AActor
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ template <typename SetType>
|
|||||||
class TSet
|
class TSet
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
friend TSparseArray;
|
template <typename>
|
||||||
|
friend class TSparseArray;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef TSetElement<SetType> ElementType;
|
typedef TSetElement<SetType> ElementType;
|
||||||
|
|||||||
Reference in New Issue
Block a user