UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ScriptMacros.h File Reference

Go to the source code of this file.

Macros

#define ZERO_INIT(Type, ParamName)   FMemory::Memzero(&ParamName,sizeof(Type));
 
#define PARAM_PASSED_BY_VAL(ParamName, PropertyType, ParamType)
 
#define PARAM_PASSED_BY_VAL_ZEROED(ParamName, PropertyType, ParamType)
 
#define PARAM_PASSED_BY_VAL_INITED(ParamName, PropertyType, ParamType, ...)
 
#define PARAM_PASSED_BY_REF(ParamName, PropertyType, ParamType)
 
#define PARAM_PASSED_BY_REF_ZEROED(ParamName, PropertyType, ParamType)
 
#define P_GET_PROPERTY(PropertyType, ParamName)
 
#define P_GET_PROPERTY_REF(PropertyType, ParamName)
 
#define P_GET_UBOOL(ParamName)   uint32 ParamName##32 = 0; bool ParamName=false; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = !!ParamName##32;
 
#define P_GET_UBOOL8(ParamName)   uint32 ParamName##32 = 0; uint8 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = ParamName##32 ? 1 : 0;
 
#define P_GET_UBOOL16(ParamName)   uint32 ParamName##32 = 0; uint16 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = ParamName##32 ? 1 : 0;
 
#define P_GET_UBOOL32(ParamName)   uint32 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName); ParamName = ParamName ? 1 : 0;
 
#define P_GET_UBOOL64(ParamName)   uint64 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName); ParamName = ParamName ? 1 : 0;
 
#define P_GET_UBOOL_REF(ParamName)   PARAM_PASSED_BY_REF_ZEROED(ParamName, FBoolProperty, bool)
 
#define P_GET_STRUCT(StructType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FStructProperty, PREPROCESSOR_COMMA_SEPARATED(StructType))
 
#define P_GET_STRUCT_REF(StructType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FStructProperty, PREPROCESSOR_COMMA_SEPARATED(StructType))
 
#define P_GET_OBJECT(ObjectType, ParamName)   PARAM_PASSED_BY_VAL_ZEROED(ParamName, FObjectPropertyBase, ObjectType*)
 
#define P_GET_OBJECT_REF(ObjectType, ParamName)   PARAM_PASSED_BY_REF_ZEROED(ParamName, FObjectPropertyBase, ObjectType*)
 
#define P_GET_OBJECT_NO_PTR(ObjectType, ParamName)   PARAM_PASSED_BY_VAL_ZEROED(ParamName, FObjectPropertyBase, ObjectType)
 
#define P_GET_OBJECT_REF_NO_PTR(ObjectType, ParamName)   PARAM_PASSED_BY_REF_ZEROED(ParamName, FObjectPropertyBase, ObjectType)
 
#define P_GET_TARRAY(ElementType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FArrayProperty, TArray<ElementType>)
 
#define P_GET_TARRAY_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FArrayProperty, TArray<ElementType>)
 
#define P_GET_TMAP(KeyType, ValueType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FMapProperty, PREPROCESSOR_COMMA_SEPARATED(TMap<KeyType, ValueType>))
 
#define P_GET_TMAP_REF(KeyType, ValueType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FMapProperty, PREPROCESSOR_COMMA_SEPARATED(TMap<KeyType, ValueType>))
 
#define P_GET_TSET(ElementType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FSetProperty, TSet<ElementType>)
 
#define P_GET_TSET_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FSetProperty, TSet<ElementType>)
 
#define P_GET_TINTERFACE(ObjectType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FInterfaceProperty, TScriptInterface<ObjectType>)
 
#define P_GET_TINTERFACE_REF(ObjectType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FInterfaceProperty, TScriptInterface<ObjectType>)
 
#define P_GET_WEAKOBJECT(ObjectType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FWeakObjectProperty, ObjectType)
 
#define P_GET_WEAKOBJECT_REF(ObjectType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FWeakObjectProperty, ObjectType)
 
#define P_GET_WEAKOBJECT_NO_PTR(ObjectType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FWeakObjectProperty, ObjectType)
 
#define P_GET_WEAKOBJECT_REF_NO_PTR(ObjectType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FWeakObjectProperty, ObjectType)
 
#define P_GET_SOFTOBJECT(ObjectType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FSoftObjectProperty, ObjectType)
 
#define P_GET_SOFTOBJECT_REF(ObjectType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FSoftObjectProperty, ObjectType)
 
#define P_GET_SOFTCLASS(ObjectType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FSoftClassProperty, ObjectType)
 
#define P_GET_SOFTCLASS_REF(ObjectType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FSoftClassProperty, ObjectType)
 
#define P_GET_TFIELDPATH(FieldType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FFieldPathProperty, FieldType)
 
#define P_GET_TFIELDPATH_REF(FieldType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FFieldPathProperty, FieldType)
 
#define P_GET_ARRAY(ElementType, ParamName)   ElementType ParamName[(MAX_VARIABLE_SIZE/sizeof(ElementType))+1]; Stack.StepCompiledIn<FProperty>(ParamName);
 
#define P_GET_ARRAY_REF(ElementType, ParamName)   ElementType ParamName##Temp[(MAX_VARIABLE_SIZE/sizeof(ElementType))+1]; ElementType* ParamName = Stack.StepCompiledInRef<FProperty, ElementType*>(ParamName##Temp);
 
#define P_GET_ENUM(EnumType, ParamName)   EnumType ParamName = (EnumType)0; Stack.StepCompiledIn<FEnumProperty>(&ParamName);
 
#define P_GET_ENUM_REF(EnumType, ParamName)   PARAM_PASSED_BY_REF_ZEROED(ParamName, FEnumProperty, EnumType)
 
#define P_GET_UTF8CHAR(PropertyType, ParamName)   UTF8CHAR ParamName = (UTF8CHAR)0; Stack.StepCompiledIn<FByteProperty>(&ParamName);
 
#define P_GET_UTF8CHAR_REF(PropertyType, ParamName)   UTF8CHAR ParamName##Temp = (UTF8CHAR)0; UTF8CHAR& ParamName = Stack.StepCompiledInRef<FByteProperty, UTF8CHAR>(&ParamName##Temp);
 
#define P_GET_OBJECTPTR(ElementType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FObjectPropertyBase, TObjectPtr<ElementType>)
 
#define P_GET_OBJECTPTR_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, TObjectPtr<ElementType>)
 
#define P_GET_VERSETYPE(ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::type, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSETYPE_REF(ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::type)
 
#define P_GET_VERSESUBTYPE(ElementType, ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSESUBTYPE_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::subtype<ElementType>)
 
#define P_GET_VERSECASTABLETYPE(ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::castable_type, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSECASTABLETYPE_REF(ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_type)
 
#define P_GET_VERSECASTABLESUBTYPE(ElementType, ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::castable_subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSECASTABLESUBTYPE_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_subtype<ElementType>)
 
#define P_GET_VERSECONCRETETYPE(ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::castable_type, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSECONCRETETYPE_REF(ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_type)
 
#define P_GET_VERSECONCRETESUBTYPE(ElementType, ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::concrete_subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)
 
#define P_GET_VERSECONCRETESUBTYPE_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::concrete_subtype<ElementType>)
 
#define P_GET_INTERFACEINSTANCE(ElementType, ParamName)   PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, TInterfaceInstance<ElementType>, EDefaultConstructNonNullPtr::UnsafeDoNotUse)
 
#define P_GET_INTERFACEINSTANCE_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, TInterfaceInstance<ElementType>)
 
#define P_GET_TOPTIONAL(ElementType, ParamName)   PARAM_PASSED_BY_VAL(ParamName, FOptionalProperty, TOptional<ElementType>)
 
#define P_GET_TOPTIONAL_REF(ElementType, ParamName)   PARAM_PASSED_BY_REF(ParamName, FOptionalProperty, TOptional<ElementType>)
 
#define P_FINISH   Stack.Code += !!Stack.Code; /* increment the code ptr unless it is null */
 
#define P_THIS_OBJECT   (Context)
 
#define P_THIS_CAST(ClassType)   ((ClassType*)P_THIS_OBJECT)
 
#define P_THIS   P_THIS_CAST(ThisClass)
 
#define P_NATIVE_BEGIN   { SCOPED_SCRIPT_NATIVE_TIMER(ScopedNativeCallTimer);
 
#define P_NATIVE_END   }
 
#define UE_SCRIPT_ARGS_GC_BARRIER   1
 
#define P_ARG_GC_BARRIER(X)   MutableView(ObjectPtrWrap(X))
 

Enumerations

enum  { MAX_VARIABLE_SIZE = 0x0FFF }
 

Macro Definition Documentation

◆ P_ARG_GC_BARRIER

#define P_ARG_GC_BARRIER (   X)    MutableView(ObjectPtrWrap(X))

◆ P_FINISH

#define P_FINISH   Stack.Code += !!Stack.Code; /* increment the code ptr unless it is null */

◆ P_GET_ARRAY

#define P_GET_ARRAY (   ElementType,
  ParamName 
)    ElementType ParamName[(MAX_VARIABLE_SIZE/sizeof(ElementType))+1]; Stack.StepCompiledIn<FProperty>(ParamName);

◆ P_GET_ARRAY_REF

#define P_GET_ARRAY_REF (   ElementType,
  ParamName 
)    ElementType ParamName##Temp[(MAX_VARIABLE_SIZE/sizeof(ElementType))+1]; ElementType* ParamName = Stack.StepCompiledInRef<FProperty, ElementType*>(ParamName##Temp);

◆ P_GET_ENUM

#define P_GET_ENUM (   EnumType,
  ParamName 
)    EnumType ParamName = (EnumType)0; Stack.StepCompiledIn<FEnumProperty>(&ParamName);

◆ P_GET_ENUM_REF

#define P_GET_ENUM_REF (   EnumType,
  ParamName 
)    PARAM_PASSED_BY_REF_ZEROED(ParamName, FEnumProperty, EnumType)

◆ P_GET_INTERFACEINSTANCE

#define P_GET_INTERFACEINSTANCE (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, TInterfaceInstance<ElementType>, EDefaultConstructNonNullPtr::UnsafeDoNotUse)

◆ P_GET_INTERFACEINSTANCE_REF

#define P_GET_INTERFACEINSTANCE_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, TInterfaceInstance<ElementType>)

◆ P_GET_OBJECT

#define P_GET_OBJECT (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL_ZEROED(ParamName, FObjectPropertyBase, ObjectType*)

◆ P_GET_OBJECT_NO_PTR

#define P_GET_OBJECT_NO_PTR (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL_ZEROED(ParamName, FObjectPropertyBase, ObjectType)

◆ P_GET_OBJECT_REF

#define P_GET_OBJECT_REF (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF_ZEROED(ParamName, FObjectPropertyBase, ObjectType*)

◆ P_GET_OBJECT_REF_NO_PTR

#define P_GET_OBJECT_REF_NO_PTR (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF_ZEROED(ParamName, FObjectPropertyBase, ObjectType)

◆ P_GET_OBJECTPTR

#define P_GET_OBJECTPTR (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FObjectPropertyBase, TObjectPtr<ElementType>)

◆ P_GET_OBJECTPTR_REF

#define P_GET_OBJECTPTR_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, TObjectPtr<ElementType>)

◆ P_GET_PROPERTY

#define P_GET_PROPERTY (   PropertyType,
  ParamName 
)
Value:
PropertyType::TCppType ParamName = PropertyType::GetDefaultPropertyValue(); \
Stack.StepCompiledIn<PropertyType>(&ParamName);

◆ P_GET_PROPERTY_REF

#define P_GET_PROPERTY_REF (   PropertyType,
  ParamName 
)
Value:
PropertyType::TCppType ParamName##Temp = PropertyType::GetDefaultPropertyValue(); \
PropertyType::TCppType& ParamName = Stack.StepCompiledInRef<PropertyType, PropertyType::TCppType>(&ParamName##Temp);

◆ P_GET_SOFTCLASS

#define P_GET_SOFTCLASS (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FSoftClassProperty, ObjectType)

◆ P_GET_SOFTCLASS_REF

#define P_GET_SOFTCLASS_REF (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FSoftClassProperty, ObjectType)

◆ P_GET_SOFTOBJECT

#define P_GET_SOFTOBJECT (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FSoftObjectProperty, ObjectType)

◆ P_GET_SOFTOBJECT_REF

#define P_GET_SOFTOBJECT_REF (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FSoftObjectProperty, ObjectType)

◆ P_GET_STRUCT

#define P_GET_STRUCT (   StructType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FStructProperty, PREPROCESSOR_COMMA_SEPARATED(StructType))

◆ P_GET_STRUCT_REF

#define P_GET_STRUCT_REF (   StructType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FStructProperty, PREPROCESSOR_COMMA_SEPARATED(StructType))

◆ P_GET_TARRAY

#define P_GET_TARRAY (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FArrayProperty, TArray<ElementType>)

◆ P_GET_TARRAY_REF

#define P_GET_TARRAY_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FArrayProperty, TArray<ElementType>)

◆ P_GET_TFIELDPATH

#define P_GET_TFIELDPATH (   FieldType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FFieldPathProperty, FieldType)

◆ P_GET_TFIELDPATH_REF

#define P_GET_TFIELDPATH_REF (   FieldType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FFieldPathProperty, FieldType)

◆ P_GET_TINTERFACE

#define P_GET_TINTERFACE (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FInterfaceProperty, TScriptInterface<ObjectType>)

◆ P_GET_TINTERFACE_REF

#define P_GET_TINTERFACE_REF (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FInterfaceProperty, TScriptInterface<ObjectType>)

◆ P_GET_TMAP

#define P_GET_TMAP (   KeyType,
  ValueType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FMapProperty, PREPROCESSOR_COMMA_SEPARATED(TMap<KeyType, ValueType>))

◆ P_GET_TMAP_REF

#define P_GET_TMAP_REF (   KeyType,
  ValueType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FMapProperty, PREPROCESSOR_COMMA_SEPARATED(TMap<KeyType, ValueType>))

◆ P_GET_TOPTIONAL

#define P_GET_TOPTIONAL (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FOptionalProperty, TOptional<ElementType>)

◆ P_GET_TOPTIONAL_REF

#define P_GET_TOPTIONAL_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FOptionalProperty, TOptional<ElementType>)

◆ P_GET_TSET

#define P_GET_TSET (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FSetProperty, TSet<ElementType>)

◆ P_GET_TSET_REF

#define P_GET_TSET_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FSetProperty, TSet<ElementType>)

◆ P_GET_UBOOL

#define P_GET_UBOOL (   ParamName)    uint32 ParamName##32 = 0; bool ParamName=false; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = !!ParamName##32;

◆ P_GET_UBOOL16

#define P_GET_UBOOL16 (   ParamName)    uint32 ParamName##32 = 0; uint16 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = ParamName##32 ? 1 : 0;

◆ P_GET_UBOOL32

#define P_GET_UBOOL32 (   ParamName)    uint32 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName); ParamName = ParamName ? 1 : 0;

◆ P_GET_UBOOL64

#define P_GET_UBOOL64 (   ParamName)    uint64 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName); ParamName = ParamName ? 1 : 0;

◆ P_GET_UBOOL8

#define P_GET_UBOOL8 (   ParamName)    uint32 ParamName##32 = 0; uint8 ParamName=0; Stack.StepCompiledIn<FBoolProperty>(&ParamName##32); ParamName = ParamName##32 ? 1 : 0;

◆ P_GET_UBOOL_REF

#define P_GET_UBOOL_REF (   ParamName)    PARAM_PASSED_BY_REF_ZEROED(ParamName, FBoolProperty, bool)

◆ P_GET_UTF8CHAR

#define P_GET_UTF8CHAR (   PropertyType,
  ParamName 
)    UTF8CHAR ParamName = (UTF8CHAR)0; Stack.StepCompiledIn<FByteProperty>(&ParamName);

◆ P_GET_UTF8CHAR_REF

#define P_GET_UTF8CHAR_REF (   PropertyType,
  ParamName 
)    UTF8CHAR ParamName##Temp = (UTF8CHAR)0; UTF8CHAR& ParamName = Stack.StepCompiledInRef<FByteProperty, UTF8CHAR>(&ParamName##Temp);

◆ P_GET_VERSECASTABLESUBTYPE

#define P_GET_VERSECASTABLESUBTYPE (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::castable_subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)

◆ P_GET_VERSECASTABLESUBTYPE_REF

#define P_GET_VERSECASTABLESUBTYPE_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_subtype<ElementType>)

◆ P_GET_VERSECASTABLETYPE

◆ P_GET_VERSECASTABLETYPE_REF

#define P_GET_VERSECASTABLETYPE_REF (   ParamName)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_type)

◆ P_GET_VERSECONCRETESUBTYPE

#define P_GET_VERSECONCRETESUBTYPE (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::concrete_subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)

◆ P_GET_VERSECONCRETESUBTYPE_REF

#define P_GET_VERSECONCRETESUBTYPE_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::concrete_subtype<ElementType>)

◆ P_GET_VERSECONCRETETYPE

◆ P_GET_VERSECONCRETETYPE_REF

#define P_GET_VERSECONCRETETYPE_REF (   ParamName)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::castable_type)

◆ P_GET_VERSESUBTYPE

#define P_GET_VERSESUBTYPE (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::subtype<ElementType>, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)

◆ P_GET_VERSESUBTYPE_REF

#define P_GET_VERSESUBTYPE_REF (   ElementType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::subtype<ElementType>)

◆ P_GET_VERSETYPE

#define P_GET_VERSETYPE (   ParamName)    PARAM_PASSED_BY_VAL_INITED(ParamName, FObjectPropertyBase, verse::type, Verse::EDefaultConstructNativeType::UnsafeDoNotUse)

◆ P_GET_VERSETYPE_REF

#define P_GET_VERSETYPE_REF (   ParamName)    PARAM_PASSED_BY_REF(ParamName, FObjectPropertyBase, verse::type)

◆ P_GET_WEAKOBJECT

#define P_GET_WEAKOBJECT (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FWeakObjectProperty, ObjectType)

◆ P_GET_WEAKOBJECT_NO_PTR

#define P_GET_WEAKOBJECT_NO_PTR (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_VAL(ParamName, FWeakObjectProperty, ObjectType)

◆ P_GET_WEAKOBJECT_REF

#define P_GET_WEAKOBJECT_REF (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FWeakObjectProperty, ObjectType)

◆ P_GET_WEAKOBJECT_REF_NO_PTR

#define P_GET_WEAKOBJECT_REF_NO_PTR (   ObjectType,
  ParamName 
)    PARAM_PASSED_BY_REF(ParamName, FWeakObjectProperty, ObjectType)

◆ P_NATIVE_BEGIN

◆ P_NATIVE_END

#define P_NATIVE_END   }

◆ P_THIS

#define P_THIS   P_THIS_CAST(ThisClass)

◆ P_THIS_CAST

#define P_THIS_CAST (   ClassType)    ((ClassType*)P_THIS_OBJECT)

◆ P_THIS_OBJECT

#define P_THIS_OBJECT   (Context)

◆ PARAM_PASSED_BY_REF

#define PARAM_PASSED_BY_REF (   ParamName,
  PropertyType,
  ParamType 
)
Value:
ParamType ParamName##Temp; \
ParamType& ParamName = Stack.StepCompiledInRef<PropertyType, ParamType>(&ParamName##Temp);

◆ PARAM_PASSED_BY_REF_ZEROED

#define PARAM_PASSED_BY_REF_ZEROED (   ParamName,
  PropertyType,
  ParamType 
)
Value:
ParamType ParamName##Temp = (ParamType)0; \
ParamType& ParamName = Stack.StepCompiledInRef<PropertyType, ParamType>(&ParamName##Temp);

◆ PARAM_PASSED_BY_VAL

#define PARAM_PASSED_BY_VAL (   ParamName,
  PropertyType,
  ParamType 
)
Value:
ParamType ParamName; \
Stack.StepCompiledIn<PropertyType>(&ParamName);

◆ PARAM_PASSED_BY_VAL_INITED

#define PARAM_PASSED_BY_VAL_INITED (   ParamName,
  PropertyType,
  ParamType,
  ... 
)
Value:
ParamType ParamName{__VA_ARGS__}; \
Stack.StepCompiledIn<PropertyType>(&ParamName);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127

◆ PARAM_PASSED_BY_VAL_ZEROED

#define PARAM_PASSED_BY_VAL_ZEROED (   ParamName,
  PropertyType,
  ParamType 
)
Value:
ParamType ParamName = (ParamType)0; \
Stack.StepCompiledIn<PropertyType>(&ParamName);

◆ UE_SCRIPT_ARGS_GC_BARRIER

#define UE_SCRIPT_ARGS_GC_BARRIER   1

◆ ZERO_INIT

#define ZERO_INIT (   Type,
  ParamName 
)    FMemory::Memzero(&ParamName,sizeof(Type));

Enumeration Type Documentation

◆ anonymous enum

This is the largest possible size that a single variable can be; a variables size is determined by multiplying the size of the type by the variables ArrayDim (always 1 unless it's a static array).

Enumerator
MAX_VARIABLE_SIZE