Files
DedicatedServerCourse/Intermediate/Build/Win64/FPSTemplateEditor/Inc/StateTreeModule/UHT/StateTreeTasksStatus.gen.cpp
Norman Lansing ecb33115bf Initial Commit
2026-01-28 19:08:51 -05:00

147 lines
13 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "UObject/GeneratedCppIncludes.h"
#include "StateTreeTasksStatus.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
static_assert(!UE_WITH_CONSTINIT_UOBJECT, "This generated code can only be compiled with !UE_WITH_CONSTINIT_OBJECT");
void EmptyLinkFunctionForGeneratedCodeStateTreeTasksStatus() {}
// ********** Begin Cross Module References ********************************************************
STATETREEMODULE_API UEnum* Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType();
STATETREEMODULE_API UScriptStruct* Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus();
UPackage* Z_Construct_UPackage__Script_StateTreeModule();
// ********** End Cross Module References **********************************************************
// ********** Begin Enum EStateTreeTaskCompletionType **********************************************
static FEnumRegistrationInfo Z_Registration_Info_UEnum_EStateTreeTaskCompletionType;
static UEnum* EStateTreeTaskCompletionType_StaticEnum()
{
if (!Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.OuterSingleton)
{
Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.OuterSingleton = GetStaticEnum(Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType, (UObject*)Z_Construct_UPackage__Script_StateTreeModule(), TEXT("EStateTreeTaskCompletionType"));
}
return Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.OuterSingleton;
}
template<> STATETREEMODULE_NON_ATTRIBUTED_API UEnum* StaticEnum<EStateTreeTaskCompletionType>()
{
return EStateTreeTaskCompletionType_StaticEnum();
}
struct Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics
{
#if WITH_METADATA
static constexpr UECodeGen_Private::FMetaDataPairParam Enum_MetaDataParams[] = {
{ "All.Comment", "/** All tasks need to complete for the group to completes. */" },
{ "All.Name", "EStateTreeTaskCompletionType::All" },
{ "All.ToolTip", "All tasks need to complete for the group to completes." },
{ "Any.Comment", "/** Any task completes the group. */" },
{ "Any.Name", "EStateTreeTaskCompletionType::Any" },
{ "Any.ToolTip", "Any task completes the group." },
{ "ModuleRelativePath", "Public/StateTreeTasksStatus.h" },
};
#endif // WITH_METADATA
static constexpr UECodeGen_Private::FEnumeratorParam Enumerators[] = {
{ "EStateTreeTaskCompletionType::All", (int64)EStateTreeTaskCompletionType::All },
{ "EStateTreeTaskCompletionType::Any", (int64)EStateTreeTaskCompletionType::Any },
};
static const UECodeGen_Private::FEnumParams EnumParams;
}; // struct Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics
const UECodeGen_Private::FEnumParams Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::EnumParams = {
(UObject*(*)())Z_Construct_UPackage__Script_StateTreeModule,
nullptr,
"EStateTreeTaskCompletionType",
"EStateTreeTaskCompletionType",
Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::Enumerators,
RF_Public|RF_Transient|RF_MarkAsNative,
UE_ARRAY_COUNT(Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::Enumerators),
EEnumFlags::None,
(uint8)UEnum::ECppForm::EnumClass,
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::Enum_MetaDataParams), Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::Enum_MetaDataParams)
};
UEnum* Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType()
{
if (!Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.InnerSingleton)
{
UECodeGen_Private::ConstructUEnum(Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.InnerSingleton, Z_Construct_UEnum_StateTreeModule_EStateTreeTaskCompletionType_Statics::EnumParams);
}
return Z_Registration_Info_UEnum_EStateTreeTaskCompletionType.InnerSingleton;
}
// ********** End Enum EStateTreeTaskCompletionType ************************************************
// ********** Begin ScriptStruct FStateTreeTasksCompletionStatus ***********************************
struct Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics
{
static inline consteval int32 GetStructSize() { return sizeof(FStateTreeTasksCompletionStatus); }
static inline consteval int16 GetStructAlignment() { return alignof(FStateTreeTasksCompletionStatus); }
#if WITH_METADATA
static constexpr UECodeGen_Private::FMetaDataPairParam Struct_MetaDataParams[] = {
{ "Comment", "/**\n * Container for task status for all the active states and global tasks.\n * Each task needs 2 bits of information. The information is in 2 different int32. 1 bit per int32 instead of 2bits inside the same int32.\n * The int32 are sequential: The first masks takes the 2 first int32 and (if needed) the second mask takes the 3rd and 4th int32.\n * A state/global has at least 1 entry (2bits), even if there are no tasks on the state/global. It is to represent if the state completes (ex: when no tasks are ticked the state completes).\n * The bits, from different states, are packed until there are too many to fit inside the same int32.\n * When it can't be packed, all the bits from that overflow state are moved to the next int32.\n * When possible (when the number of tasks is below 32), the buffer will be inlined. Otherwise, it will use dynamic memory.\n * We allocate the worst case scenario when the frame is created.\n * \n * Ex: For the tree:\n * (0)Global task: 8 tasks. (1)State Root: 6 tasks. (2)StateA: no task (it takes one bit). (3)StateB: 10 tasks.\n * (4)State: 8 tasks, not enough space go to the next int32. (5)State: 1 task, takes one bit.\n * The mask looks like:\n * [------33333333333211111100000000|-----------------------544444444]\n * The buffer will be 4 int32.\n * The first 2 int32 are for the (0)Global task, (1)State Root, (2)State, (3)StateB\n * The next 2 int32 are for the (4)State, (5)State\n * \n * The first bit of each buffer is combined to represent the ETaskCompletionStatus.\n * Ex: (on int8 instead of int32 to be shorter in this description)\n * There are 3 tasks. The bits 0-2 are used. The other bits are never set/read. We use the \"completion mask\" to filter them.\n * [00001100|00001010]\n * Task 1 has the value 00 (0 from the first buffer and 0 from the second buffer). It's Running.\n * Task 2 has the value 01 (0 from the first buffer and 1 from the second buffer). It's Stopped.\n * Task 3 has the value 10 (1 from the first buffer and 0 from the second buffer). It's Succeeded.\n */" },
{ "ModuleRelativePath", "Public/StateTreeTasksStatus.h" },
{ "ToolTip", "Container for task status for all the active states and global tasks.\nEach task needs 2 bits of information. The information is in 2 different int32. 1 bit per int32 instead of 2bits inside the same int32.\nThe int32 are sequential: The first masks takes the 2 first int32 and (if needed) the second mask takes the 3rd and 4th int32.\nA state/global has at least 1 entry (2bits), even if there are no tasks on the state/global. It is to represent if the state completes (ex: when no tasks are ticked the state completes).\nThe bits, from different states, are packed until there are too many to fit inside the same int32.\nWhen it can't be packed, all the bits from that overflow state are moved to the next int32.\nWhen possible (when the number of tasks is below 32), the buffer will be inlined. Otherwise, it will use dynamic memory.\nWe allocate the worst case scenario when the frame is created.\n\nEx: For the tree:\n (0)Global task: 8 tasks. (1)State Root: 6 tasks. (2)StateA: no task (it takes one bit). (3)StateB: 10 tasks.\n (4)State: 8 tasks, not enough space go to the next int32. (5)State: 1 task, takes one bit.\n The mask looks like:\n[------33333333333211111100000000|-----------------------544444444]\n The buffer will be 4 int32.\n The first 2 int32 are for the (0)Global task, (1)State Root, (2)State, (3)StateB\n The next 2 int32 are for the (4)State, (5)State\n\nThe first bit of each buffer is combined to represent the ETaskCompletionStatus.\nEx: (on int8 instead of int32 to be shorter in this description)\n There are 3 tasks. The bits 0-2 are used. The other bits are never set/read. We use the \"completion mask\" to filter them.\n[00001100|00001010]\n Task 1 has the value 00 (0 from the first buffer and 0 from the second buffer). It's Running.\n Task 2 has the value 01 (0 from the first buffer and 1 from the second buffer). It's Stopped.\n Task 3 has the value 10 (1 from the first buffer and 0 from the second buffer). It's Succeeded." },
};
#endif // WITH_METADATA
// ********** Begin ScriptStruct FStateTreeTasksCompletionStatus constinit property declarations ***
// ********** End ScriptStruct FStateTreeTasksCompletionStatus constinit property declarations *****
static void* NewStructOps()
{
return (UScriptStruct::ICppStructOps*)new UScriptStruct::TCppStructOps<FStateTreeTasksCompletionStatus>();
}
static const UECodeGen_Private::FStructParams StructParams;
}; // struct Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics
static FStructRegistrationInfo Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus;
class UScriptStruct* FStateTreeTasksCompletionStatus::StaticStruct()
{
if (!Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.OuterSingleton)
{
Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.OuterSingleton = GetStaticStruct(Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus, (UObject*)Z_Construct_UPackage__Script_StateTreeModule(), TEXT("StateTreeTasksCompletionStatus"));
}
return Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.OuterSingleton;
}
const UECodeGen_Private::FStructParams Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics::StructParams = {
(UObject* (*)())Z_Construct_UPackage__Script_StateTreeModule,
nullptr,
&NewStructOps,
"StateTreeTasksCompletionStatus",
nullptr,
0,
sizeof(FStateTreeTasksCompletionStatus),
alignof(FStateTreeTasksCompletionStatus),
RF_Public|RF_Transient|RF_MarkAsNative,
EStructFlags(0x00000001),
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics::Struct_MetaDataParams), Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics::Struct_MetaDataParams)
};
UScriptStruct* Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus()
{
if (!Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.InnerSingleton)
{
UECodeGen_Private::ConstructUScriptStruct(Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.InnerSingleton, Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics::StructParams);
}
return CastChecked<UScriptStruct>(Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus.InnerSingleton);
}
// ********** End ScriptStruct FStateTreeTasksCompletionStatus *************************************
// ********** Begin Registration *******************************************************************
struct Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics
{
static constexpr FEnumRegisterCompiledInInfo EnumInfo[] = {
{ EStateTreeTaskCompletionType_StaticEnum, TEXT("EStateTreeTaskCompletionType"), &Z_Registration_Info_UEnum_EStateTreeTaskCompletionType, CONSTRUCT_RELOAD_VERSION_INFO(FEnumReloadVersionInfo, 39993417U) },
};
static constexpr FStructRegisterCompiledInInfo ScriptStructInfo[] = {
{ FStateTreeTasksCompletionStatus::StaticStruct, Z_Construct_UScriptStruct_FStateTreeTasksCompletionStatus_Statics::NewStructOps, TEXT("StateTreeTasksCompletionStatus"),&Z_Registration_Info_UScriptStruct_FStateTreeTasksCompletionStatus, CONSTRUCT_RELOAD_VERSION_INFO(FStructReloadVersionInfo, sizeof(FStateTreeTasksCompletionStatus), 570751385U) },
};
}; // Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_1330694652{
TEXT("/Script/StateTreeModule"),
nullptr, 0,
Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics::ScriptStructInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics::ScriptStructInfo),
Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics::EnumInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Engine_Plugins_Runtime_StateTree_Source_StateTreeModule_Public_StateTreeTasksStatus_h__Script_StateTreeModule_Statics::EnumInfo),
};
// ********** End Registration *********************************************************************
PRAGMA_ENABLE_DEPRECATION_WARNINGS