5#if (WITH_VERSE_COMPILER && WITH_VERSE_BPVM) || WITH_VERSE_VM
13#if WITH_VERSE_VM || defined(__INTELLISENSE__)
54 bool IsValidating()
const {
return bIsValidating; }
61 template <
typename DestinationType,
typename ValueType>
75 template <
typename DestinationType,
typename ValueType>
85 template <
typename DestinationType,
typename ValueType>
92 template <
typename ValueType>
93 static FString FormatValue(ValueType
Value)
95 if constexpr (std::is_enum<ValueType>::value)
97 using UEnumType = std::underlying_type<ValueType>::type;
101 else if constexpr (std::is_same_v<FName, ValueType>)
103 return Value.ToString();
105 else if constexpr (std::is_same_v<FProperty, std::remove_pointer_t<ValueType>>)
109 else if constexpr (std::is_base_of_v<UObject, std::remove_pointer_t<ValueType>>)
113 else if constexpr (std::is_same_v<FGuid, ValueType>)
117 else if constexpr (std::is_same_v<FUtf8String, ValueType>)
119 return FString(
Value);
123 return FString::Format(
TEXT(
"{0}"), {
Value});
127 template <
typename ObjectType>
130 return FormatValue(
Value.Get());
133 template <
typename DestinationType,
typename ValueType>
136 if (Destination !=
Value)
142 template <
typename DestinationType,
typename ValueType>
147 LogError(FString::Format(
TEXT(
"'{0}:{1}:{2}' doesn't have the correct value. Expected: '{3}' Got: '{4}'"),
148 {
Field->GetName(), What,
SubWhat, FormatValue(
Value), FormatValue(Destination)}));
152 LogError(FString::Format(
TEXT(
"'{0}:{1}' doesn't have the correct value. Expected: '{2}' Got: '{3}'"),
153 {
Field->GetName(), What, FormatValue(
Value), FormatValue(Destination)}));
157 virtual void LogError(
const FString& text)
const = 0;
267template <
typename UEType>
290#if WITH_VERSE_VM || defined(__INTELLISENSE__)
294template <
typename UEType>
297 using Super = FInitOrValidatorSelector<UEType>::Validator;
311 virtual void LogError(
const FString& text)
const override
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const TCHAR * LexToString(EAnalyticsRecordEventMode Mode)
Definition IAnalyticsProvider.cpp:5
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
#define UE_LOG(CategoryName, Verbosity, Format,...)
Definition LogMacros.h:270
EClassFlags
Definition ObjectMacros.h:199
Definition NameTypes.h:617
ECppForm
Definition Class.h:2799
Definition VVMVerseClass.h:137
Definition VVMVerseEnum.h:36
Definition VVMVerseStruct.h:33
IAnalyticsPropertyStore::EStatusCode SetValue(TGetter &&GetterFn, TSetter &&SetterFn, const T &ProposedValue, TCompare &&ConditionFn)
Definition AnalyticsPropertyStore.cpp:34
Type
Definition PawnAction_Move.h:11
Definition FieldSystemNoiseAlgo.cpp:6
Definition OverriddenPropertySet.cpp:45
Definition ObjectPtr.h:488