UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMAttribute.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#if WITH_VERSE_VM || defined(__INTELLISENSE__)
5
7
8class UStruct;
9class FProperty;
10class UFunction;
11class UEnum;
12
13namespace Verse
14{
15
16struct FAllocationContext;
17struct VValue;
18class CAttributeValue;
19class ICustomAttributeHandler;
20
22{
23 void* UeDefinition;
24 bool (*InvokeHandler)(FAllocationContext Context, ICustomAttributeHandler* Handler, const CAttributeValue& Payload, void* UeDefinition, TArray<FString>& OutErrors);
25
26 template <typename DefinitionType>
28
29 void Apply(FAllocationContext Context, VValue AttributeValue, TArray<FString>& OutErrors);
30};
31
32extern template FAttributeElement::FAttributeElement(UStruct* InUeDefinition);
33extern template FAttributeElement::FAttributeElement(FProperty* InUeDefinition);
34extern template FAttributeElement::FAttributeElement(UFunction* InUeDefinition);
35extern template FAttributeElement::FAttributeElement(UEnum* InUeDefinition);
36
37}; // namespace Verse
38#endif // WITH_VERSE_VM
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
Definition UnrealType.h:174
Definition Array.h:670
Definition Class.h:2791
Definition Class.h:2476
Definition Class.h:480
@ Apply
Definition NavigationModifier.h:49
Definition Archive.h:36