Files
DedicatedServerCourse/Intermediate/Build/Win64/FPSTemplateServer/Inc/AIModule/UHT/BTService.gen.cpp

199 lines
15 KiB
C++
Raw Normal View History

2026-01-28 19:08:51 -05:00
// 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 "BehaviorTree/BTService.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
static_assert(!UE_WITH_CONSTINIT_UOBJECT, "This generated code can only be compiled with !UE_WITH_CONSTINIT_OBJECT");
void EmptyLinkFunctionForGeneratedCodeBTService() {}
// ********** Begin Cross Module References ********************************************************
AIMODULE_API UClass* Z_Construct_UClass_UBTAuxiliaryNode();
AIMODULE_API UClass* Z_Construct_UClass_UBTService();
AIMODULE_API UClass* Z_Construct_UClass_UBTService_NoRegister();
UPackage* Z_Construct_UPackage__Script_AIModule();
// ********** End Cross Module References **********************************************************
// ********** Begin Class UBTService ***************************************************************
FClassRegistrationInfo Z_Registration_Info_UClass_UBTService;
UClass* UBTService::GetPrivateStaticClass()
{
using TClass = UBTService;
if (!Z_Registration_Info_UClass_UBTService.InnerSingleton)
{
GetPrivateStaticClassBody(
TClass::StaticPackage(),
TEXT("BTService"),
Z_Registration_Info_UClass_UBTService.InnerSingleton,
StaticRegisterNativesUBTService,
sizeof(TClass),
alignof(TClass),
TClass::StaticClassFlags,
TClass::StaticClassCastFlags(),
TClass::StaticConfigName(),
(UClass::ClassConstructorType)InternalConstructor<TClass>,
(UClass::ClassVTableHelperCtorCallerType)InternalVTableHelperCtorCaller<TClass>,
UOBJECT_CPPCLASS_STATICFUNCTIONS_FORCLASS(TClass),
&TClass::Super::StaticClass,
&TClass::WithinClass::StaticClass
);
}
return Z_Registration_Info_UClass_UBTService.InnerSingleton;
}
UClass* Z_Construct_UClass_UBTService_NoRegister()
{
return UBTService::GetPrivateStaticClass();
}
struct Z_Construct_UClass_UBTService_Statics
{
#if WITH_METADATA
static constexpr UECodeGen_Private::FMetaDataPairParam Class_MetaDataParams[] = {
{ "Comment", "/** \n *\x09""Behavior Tree service nodes is designed to perform \"background\" tasks that update AI's knowledge.\n *\n * Services are being executed when underlying branch of behavior tree becomes active,\n * but unlike tasks they don't return any results and can't directly affect execution flow.\n *\n * Usually they perform periodical checks (see TickNode) and often store results in blackboard.\n * If any decorator node below requires results of check beforehand, use OnSearchStart function.\n * Keep in mind that any checks performed there have to be instantaneous!\n *\x09\n * Other typical use case is creating a marker when specific branch is being executed\n * (see OnBecomeRelevant, OnCeaseRelevant), by setting a flag in blackboard.\n *\n * Because some of them can be instanced for specific AI, following virtual functions are not marked as const:\n * - OnBecomeRelevant (from UBTAuxiliaryNode)\n * - OnCeaseRelevant (from UBTAuxiliaryNode)\n * - TickNode (from UBTAuxiliaryNode)\n * - OnSearchStart\n *\n * If your node is not being instanced (default behavior), DO NOT change any properties of object within those functions!\n * Template nodes are shared across all behavior tree components using the same tree asset and must store\n * their runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )\n */" },
{ "IncludePath", "BehaviorTree/BTService.h" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "Behavior Tree service nodes is designed to perform \"background\" tasks that update AI's knowledge.\n\nServices are being executed when underlying branch of behavior tree becomes active,\nbut unlike tasks they don't return any results and can't directly affect execution flow.\n\nUsually they perform periodical checks (see TickNode) and often store results in blackboard.\nIf any decorator node below requires results of check beforehand, use OnSearchStart function.\nKeep in mind that any checks performed there have to be instantaneous!\n\nOther typical use case is creating a marker when specific branch is being executed\n(see OnBecomeRelevant, OnCeaseRelevant), by setting a flag in blackboard.\n\nBecause some of them can be instanced for specific AI, following virtual functions are not marked as const:\n- OnBecomeRelevant (from UBTAuxiliaryNode)\n- OnCeaseRelevant (from UBTAuxiliaryNode)\n- TickNode (from UBTAuxiliaryNode)\n- OnSearchStart\n\nIf your node is not being instanced (default behavior), DO NOT change any properties of object within those functions!\nTemplate nodes are shared across all behavior tree components using the same tree asset and must store\ntheir runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )" },
};
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_Interval_MetaData[] = {
{ "Category", "Service" },
{ "ClampMin", "0.001" },
{ "Comment", "/** defines time span between subsequent ticks of the service */" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "defines time span between subsequent ticks of the service" },
};
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_RandomDeviation_MetaData[] = {
{ "Category", "Service" },
{ "ClampMin", "0.0" },
{ "Comment", "/** adds random range to service's Interval */" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "adds random range to service's Interval" },
};
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_bCallTickOnSearchStart_MetaData[] = {
{ "Category", "Service" },
{ "Comment", "/** call Tick event when task search enters this node (SearchStart will be called as well) */" },
{ "EditCondition", "bCanTickOnSearchStartBeExposed" },
{ "EditConditionHides", "" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "call Tick event when task search enters this node (SearchStart will be called as well)" },
};
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_bRestartTimerOnEachActivation_MetaData[] = {
{ "Category", "Service" },
{ "Comment", "/** if set, next tick time will be always reset to service's interval when node is activated */" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "if set, next tick time will be always reset to service's interval when node is activated" },
};
#if WITH_EDITORONLY_DATA
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_bCanTickOnSearchStartBeExposed_MetaData[] = {
{ "Comment", "/** if set, the service exposes the option to call Tick event when task search enters this node */" },
{ "ModuleRelativePath", "Classes/BehaviorTree/BTService.h" },
{ "ToolTip", "if set, the service exposes the option to call Tick event when task search enters this node" },
};
#endif // WITH_EDITORONLY_DATA
#endif // WITH_METADATA
// ********** Begin Class UBTService constinit property declarations *******************************
static const UECodeGen_Private::FFloatPropertyParams NewProp_Interval;
static const UECodeGen_Private::FFloatPropertyParams NewProp_RandomDeviation;
static void NewProp_bCallTickOnSearchStart_SetBit(void* Obj);
static const UECodeGen_Private::FBoolPropertyParams NewProp_bCallTickOnSearchStart;
static void NewProp_bRestartTimerOnEachActivation_SetBit(void* Obj);
static const UECodeGen_Private::FBoolPropertyParams NewProp_bRestartTimerOnEachActivation;
#if WITH_EDITORONLY_DATA
static void NewProp_bCanTickOnSearchStartBeExposed_SetBit(void* Obj);
static const UECodeGen_Private::FBoolPropertyParams NewProp_bCanTickOnSearchStartBeExposed;
#endif // WITH_EDITORONLY_DATA
static const UECodeGen_Private::FPropertyParamsBase* const PropPointers[];
// ********** End Class UBTService constinit property declarations *********************************
static UObject* (*const DependentSingletons[])();
static constexpr FCppClassTypeInfoStatic StaticCppClassTypeInfo = {
TCppClassTypeTraits<UBTService>::IsAbstract,
};
static const UECodeGen_Private::FClassParams ClassParams;
}; // struct Z_Construct_UClass_UBTService_Statics
// ********** Begin Class UBTService Property Definitions ******************************************
const UECodeGen_Private::FFloatPropertyParams Z_Construct_UClass_UBTService_Statics::NewProp_Interval = { "Interval", nullptr, (EPropertyFlags)0x0020080000000001, UECodeGen_Private::EPropertyGenFlags::Float, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, STRUCT_OFFSET(UBTService, Interval), METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_Interval_MetaData), NewProp_Interval_MetaData) };
const UECodeGen_Private::FFloatPropertyParams Z_Construct_UClass_UBTService_Statics::NewProp_RandomDeviation = { "RandomDeviation", nullptr, (EPropertyFlags)0x0020080000000001, UECodeGen_Private::EPropertyGenFlags::Float, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, STRUCT_OFFSET(UBTService, RandomDeviation), METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_RandomDeviation_MetaData), NewProp_RandomDeviation_MetaData) };
void Z_Construct_UClass_UBTService_Statics::NewProp_bCallTickOnSearchStart_SetBit(void* Obj)
{
((UBTService*)Obj)->bCallTickOnSearchStart = 1;
}
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UBTService_Statics::NewProp_bCallTickOnSearchStart = { "bCallTickOnSearchStart", nullptr, (EPropertyFlags)0x00200c0000000001, UECodeGen_Private::EPropertyGenFlags::Bool , RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(uint8), sizeof(UBTService), &Z_Construct_UClass_UBTService_Statics::NewProp_bCallTickOnSearchStart_SetBit, METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_bCallTickOnSearchStart_MetaData), NewProp_bCallTickOnSearchStart_MetaData) };
void Z_Construct_UClass_UBTService_Statics::NewProp_bRestartTimerOnEachActivation_SetBit(void* Obj)
{
((UBTService*)Obj)->bRestartTimerOnEachActivation = 1;
}
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UBTService_Statics::NewProp_bRestartTimerOnEachActivation = { "bRestartTimerOnEachActivation", nullptr, (EPropertyFlags)0x00200c0000000001, UECodeGen_Private::EPropertyGenFlags::Bool , RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(uint8), sizeof(UBTService), &Z_Construct_UClass_UBTService_Statics::NewProp_bRestartTimerOnEachActivation_SetBit, METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_bRestartTimerOnEachActivation_MetaData), NewProp_bRestartTimerOnEachActivation_MetaData) };
#if WITH_EDITORONLY_DATA
void Z_Construct_UClass_UBTService_Statics::NewProp_bCanTickOnSearchStartBeExposed_SetBit(void* Obj)
{
((UBTService*)Obj)->bCanTickOnSearchStartBeExposed = 1;
}
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UBTService_Statics::NewProp_bCanTickOnSearchStartBeExposed = { "bCanTickOnSearchStartBeExposed", nullptr, (EPropertyFlags)0x0020080800002000, UECodeGen_Private::EPropertyGenFlags::Bool , RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(uint8), sizeof(UBTService), &Z_Construct_UClass_UBTService_Statics::NewProp_bCanTickOnSearchStartBeExposed_SetBit, METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_bCanTickOnSearchStartBeExposed_MetaData), NewProp_bCanTickOnSearchStartBeExposed_MetaData) };
#endif // WITH_EDITORONLY_DATA
const UECodeGen_Private::FPropertyParamsBase* const Z_Construct_UClass_UBTService_Statics::PropPointers[] = {
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UBTService_Statics::NewProp_Interval,
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UBTService_Statics::NewProp_RandomDeviation,
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UBTService_Statics::NewProp_bCallTickOnSearchStart,
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UBTService_Statics::NewProp_bRestartTimerOnEachActivation,
#if WITH_EDITORONLY_DATA
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UBTService_Statics::NewProp_bCanTickOnSearchStartBeExposed,
#endif // WITH_EDITORONLY_DATA
};
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UBTService_Statics::PropPointers) < 2048);
// ********** End Class UBTService Property Definitions ********************************************
UObject* (*const Z_Construct_UClass_UBTService_Statics::DependentSingletons[])() = {
(UObject* (*)())Z_Construct_UClass_UBTAuxiliaryNode,
(UObject* (*)())Z_Construct_UPackage__Script_AIModule,
};
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UBTService_Statics::DependentSingletons) < 16);
const UECodeGen_Private::FClassParams Z_Construct_UClass_UBTService_Statics::ClassParams = {
&UBTService::StaticClass,
nullptr,
&StaticCppClassTypeInfo,
DependentSingletons,
nullptr,
Z_Construct_UClass_UBTService_Statics::PropPointers,
nullptr,
UE_ARRAY_COUNT(DependentSingletons),
0,
UE_ARRAY_COUNT(Z_Construct_UClass_UBTService_Statics::PropPointers),
0,
0x000800A1u,
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UClass_UBTService_Statics::Class_MetaDataParams), Z_Construct_UClass_UBTService_Statics::Class_MetaDataParams)
};
void UBTService::StaticRegisterNativesUBTService()
{
}
UClass* Z_Construct_UClass_UBTService()
{
if (!Z_Registration_Info_UClass_UBTService.OuterSingleton)
{
UECodeGen_Private::ConstructUClass(Z_Registration_Info_UClass_UBTService.OuterSingleton, Z_Construct_UClass_UBTService_Statics::ClassParams);
}
return Z_Registration_Info_UClass_UBTService.OuterSingleton;
}
DEFINE_VTABLE_PTR_HELPER_CTOR_NS(, UBTService);
UBTService::~UBTService() {}
// ********** End Class UBTService *****************************************************************
// ********** Begin Registration *******************************************************************
struct Z_CompiledInDeferFile_FID_Engine_Source_Runtime_AIModule_Classes_BehaviorTree_BTService_h__Script_AIModule_Statics
{
static constexpr FClassRegisterCompiledInInfo ClassInfo[] = {
{ Z_Construct_UClass_UBTService, UBTService::StaticClass, TEXT("UBTService"), &Z_Registration_Info_UClass_UBTService, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UBTService), 654221449U) },
};
}; // Z_CompiledInDeferFile_FID_Engine_Source_Runtime_AIModule_Classes_BehaviorTree_BTService_h__Script_AIModule_Statics
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Engine_Source_Runtime_AIModule_Classes_BehaviorTree_BTService_h__Script_AIModule_3550958838{
TEXT("/Script/AIModule"),
Z_CompiledInDeferFile_FID_Engine_Source_Runtime_AIModule_Classes_BehaviorTree_BTService_h__Script_AIModule_Statics::ClassInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Engine_Source_Runtime_AIModule_Classes_BehaviorTree_BTService_h__Script_AIModule_Statics::ClassInfo),
nullptr, 0,
nullptr, 0,
};
// ********** End Registration *********************************************************************
PRAGMA_ENABLE_DEPRECATION_WARNINGS