20#include "GameplayTagsManager.generated.h"
65 bool bAllowNonRestrictedChildren;
237#if WITH_EDITORONLY_DATA
246#if WITH_EDITORONLY_DATA
247 return bAllowNonRestrictedChildren;
255#if WITH_EDITORONLY_DATA
262#if WITH_EDITORONLY_DATA
267#if WITH_EDITORONLY_DATA
296#if WITH_EDITORONLY_DATA
307 uint8 bAllowNonRestrictedChildren : 1;
323 friend class SGameplayTagWidget;
324 friend class SGameplayTagPicker;
339 if (SingletonManager ==
nullptr)
344 return *SingletonManager;
452 UE_DEPRECATED(5.4,
"This function is not threadsafe, use FindTagNode or FGameplayTag::GetSingleTagContainer")
570 return bShouldWarnOnInvalidTags;
574 UE_DEPRECATED(5.5,
"We should never clear invalid tags as we're not guaranteed the required plugin has loaded")
575 bool ShouldClearInvalidTags()
const
583 return bUseFastReplication;
589 return !bUseFastReplication && bUseDynamicReplication;
660 int32 NetIndexTrueBitNum;
663 int32 NetIndexFirstBitSegment;
681 template <
typename TFieldType>
685 if (
Field->HasMetaData(NAME_Categories))
687 return Field->GetMetaData(NAME_Categories);
689 else if (
Field->HasMetaData(NAME_GameplayTagFilter))
691 return Field->GetMetaData(NAME_GameplayTagFilter);
725#if WITH_EDITORONLY_DATA
749 const FString& FilterString;
790#if !(UE_BUILD_SHIPPING || UE_BUILD_TEST)
812 friend class FGameplayTagTest;
813 friend class FGameplayEffectsTest;
815 friend class FGameplayTagsEditorModule;
817 friend class SAddNewGameplayTagSourceWidget;
833 return &(*Node)->GetSingleTagContainer();
847 return &(*Node)->GetSingleTagContainer();
879 GAMEPLAYTAGS_API void AddRestrictedGameplayTagSource(
const FString& FileName);
901 void VerifyNetworkIndex()
const
903 if (!bUseFastReplication)
907 else if (bNetworkIndexInvalidated)
913 void InvalidateNetworkIndex() { bNetworkIndexInvalidated =
true; }
947 TSet<
FName> RestrictedGameplayTagSourceNames;
949 bool bIsConstructingGameplayTagTree =
false;
952 bool bUseFastReplication;
955 bool bUseDynamicReplication;
958 bool bShouldWarnOnInvalidTags;
961 bool bShouldAllowUnloadingTags;
964 TOptional<
bool> ShouldAllowUnloadingTagsOverride;
967 TOptional<
bool> ShouldDeferGameplayTagTreeRebuilds;
970 bool bDoneAddingNativeTags;
972 int32 bDeferBroadcastOnGameplayTagTreeChanged = 0;
973 bool bShouldBroadcastDeferredOnGameplayTagTreeChanged =
false;
976 bool bNeedsTreeRebuildOnDoneAddingGameplayTags =
false;
979 FString InvalidTagCharacters;
998 uint32 NetworkGameplayTagNodeIndexHash;
1000 bool bNetworkIndexInvalidated =
true;
1009 friend class UGameplayTagsManagerIncrementalCookFunctions;
#define check(expr)
Definition AssertionMacros.h:314
#define GIsEditor
Definition CoreGlobals.h:233
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_MULTICAST_DELEGATE_TwoParams(DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:58
#define DECLARE_MULTICAST_DELEGATE_ThreeParams(DelegateName, Param1Type, Param2Type, Param3Type)
Definition DelegateCombinations.h:67
#define INVALID_TAGNETINDEX
Definition GameplayTagContainer.h:37
uint16 FGameplayTagNetIndex
Definition GameplayTagContainer.h:36
bool operator<(const FTextFormatString &LHS, const FTextFormatString &RHS)
Definition ITextFormatArgumentModifier.h:147
UE_FORCEINLINE_HINT bool operator!=(const FIndexedPointer &Other) const
Definition LockFreeList.h:76
#define UE_LOG(CategoryName, Verbosity, Format,...)
Definition LogMacros.h:270
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
::FCriticalSection FTransactionallySafeCriticalSection
Definition TransactionallySafeCriticalSection.h:16
FRWLock Lock
Definition UnversionedPropertySerialization.cpp:921
Definition Engine.Build.cs:7
Definition IDelegateInstance.h:14
Definition NameTypes.h:617
Definition NativeGameplayTags.h:59
Definition OutputDevice.h:133
Definition UnrealType.h:174
void Reset(SizeType NewSize=0)
Definition Array.h:2246
Definition UnrealString.h.inl:34
Definition SharedPointer.h:692
Definition DataTable.h:81
Definition ScopeLock.h:21
Definition FieldSystemNoiseAlgo.cpp:6
Definition CookOnTheFly.h:19
@ false
Definition radaudio_common.h:23
U16 Index
Definition radfft.cpp:71
Definition GameplayTagContainer.h:251
Definition GameplayTagsManager.h:178
FString GetCompleteTagString() const
Definition GameplayTagsManager.h:195
const TArray< TSharedPtr< FGameplayTagNode > > & GetChildTagNodes() const
Definition GameplayTagsManager.h:216
bool IsRestrictedGameplayTag() const
Definition GameplayTagsManager.h:254
const FGameplayTagContainer & GetSingleTagContainer() const
Definition GameplayTagsManager.h:186
TArray< TSharedPtr< FGameplayTagNode > > & GetChildTagNodes()
Definition GameplayTagsManager.h:209
TSharedPtr< FGameplayTagNode > GetParentTagNode() const
Definition GameplayTagsManager.h:223
bool GetAllowNonRestrictedChildren() const
Definition GameplayTagsManager.h:245
const FGameplayTag & GetCompleteTag() const
Definition GameplayTagsManager.h:193
bool IsExplicitTag() const
Definition GameplayTagsManager.h:236
FName GetSimpleTagName() const
Definition GameplayTagsManager.h:202
FGameplayTagNetIndex GetNetIndex() const
Definition GameplayTagsManager.h:230
FName GetCompleteTagName() const
Definition GameplayTagsManager.h:194
Definition GameplayTagsManager.h:34
FGameplayTagTableRow(FName InTag, const FString &InDevComment=TEXT(""))
Definition GameplayTagsManager.h:47
Definition GameplayTagContainer.h:45
static GAMEPLAYTAGS_API const FGameplayTag EmptyTag
Definition GameplayTagContainer.h:215
Definition GameplayTagsManager.h:60
FRestrictedGameplayTagTableRow(FName InTag, const FString &InDevComment=TEXT(""), bool InAllowNonRestrictedChildren=false)
Definition GameplayTagsManager.h:69
Definition StreamableManager.h:191
Definition DataTable.h:37
Definition ObjectPtr.h:488
Definition Optional.h:131