211 lines
12 KiB
C++
211 lines
12 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 "PyWrapperBase.h"
|
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
|
static_assert(!UE_WITH_CONSTINIT_UOBJECT, "This generated code can only be compiled with !UE_WITH_CONSTINIT_OBJECT");
|
|
void EmptyLinkFunctionForGeneratedCodePyWrapperBase() {}
|
|
|
|
// ********** Begin Cross Module References ********************************************************
|
|
COREUOBJECT_API UClass* Z_Construct_UClass_UInterface();
|
|
COREUOBJECT_API UClass* Z_Construct_UClass_UObject();
|
|
PYTHONSCRIPTPLUGIN_API UClass* Z_Construct_UClass_UPythonObjectHandle();
|
|
PYTHONSCRIPTPLUGIN_API UClass* Z_Construct_UClass_UPythonObjectHandle_NoRegister();
|
|
PYTHONSCRIPTPLUGIN_API UClass* Z_Construct_UClass_UPythonResourceOwner();
|
|
PYTHONSCRIPTPLUGIN_API UClass* Z_Construct_UClass_UPythonResourceOwner_NoRegister();
|
|
UPackage* Z_Construct_UPackage__Script_PythonScriptPlugin();
|
|
// ********** End Cross Module References **********************************************************
|
|
|
|
// ********** Begin Interface UPythonResourceOwner *************************************************
|
|
FClassRegistrationInfo Z_Registration_Info_UClass_UPythonResourceOwner;
|
|
UClass* UPythonResourceOwner::GetPrivateStaticClass()
|
|
{
|
|
using TClass = UPythonResourceOwner;
|
|
if (!Z_Registration_Info_UClass_UPythonResourceOwner.InnerSingleton)
|
|
{
|
|
GetPrivateStaticClassBody(
|
|
TClass::StaticPackage(),
|
|
TEXT("PythonResourceOwner"),
|
|
Z_Registration_Info_UClass_UPythonResourceOwner.InnerSingleton,
|
|
StaticRegisterNativesUPythonResourceOwner,
|
|
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_UPythonResourceOwner.InnerSingleton;
|
|
}
|
|
UClass* Z_Construct_UClass_UPythonResourceOwner_NoRegister()
|
|
{
|
|
return UPythonResourceOwner::GetPrivateStaticClass();
|
|
}
|
|
struct Z_Construct_UClass_UPythonResourceOwner_Statics
|
|
{
|
|
#if WITH_METADATA
|
|
static constexpr UECodeGen_Private::FMetaDataPairParam Class_MetaDataParams[] = {
|
|
{ "ModuleRelativePath", "Private/PyWrapperBase.h" },
|
|
};
|
|
#endif // WITH_METADATA
|
|
|
|
// ********** Begin Interface UPythonResourceOwner constinit property declarations *****************
|
|
// ********** End Interface UPythonResourceOwner constinit property declarations *******************
|
|
static UObject* (*const DependentSingletons[])();
|
|
static constexpr FCppClassTypeInfoStatic StaticCppClassTypeInfo = {
|
|
TCppClassTypeTraits<IPythonResourceOwner>::IsAbstract,
|
|
};
|
|
static const UECodeGen_Private::FClassParams ClassParams;
|
|
}; // struct Z_Construct_UClass_UPythonResourceOwner_Statics
|
|
UObject* (*const Z_Construct_UClass_UPythonResourceOwner_Statics::DependentSingletons[])() = {
|
|
(UObject* (*)())Z_Construct_UClass_UInterface,
|
|
(UObject* (*)())Z_Construct_UPackage__Script_PythonScriptPlugin,
|
|
};
|
|
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UPythonResourceOwner_Statics::DependentSingletons) < 16);
|
|
const UECodeGen_Private::FClassParams Z_Construct_UClass_UPythonResourceOwner_Statics::ClassParams = {
|
|
&UPythonResourceOwner::StaticClass,
|
|
nullptr,
|
|
&StaticCppClassTypeInfo,
|
|
DependentSingletons,
|
|
nullptr,
|
|
nullptr,
|
|
nullptr,
|
|
UE_ARRAY_COUNT(DependentSingletons),
|
|
0,
|
|
0,
|
|
0,
|
|
0x000840A1u,
|
|
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UClass_UPythonResourceOwner_Statics::Class_MetaDataParams), Z_Construct_UClass_UPythonResourceOwner_Statics::Class_MetaDataParams)
|
|
};
|
|
void UPythonResourceOwner::StaticRegisterNativesUPythonResourceOwner()
|
|
{
|
|
}
|
|
UClass* Z_Construct_UClass_UPythonResourceOwner()
|
|
{
|
|
if (!Z_Registration_Info_UClass_UPythonResourceOwner.OuterSingleton)
|
|
{
|
|
UECodeGen_Private::ConstructUClass(Z_Registration_Info_UClass_UPythonResourceOwner.OuterSingleton, Z_Construct_UClass_UPythonResourceOwner_Statics::ClassParams);
|
|
}
|
|
return Z_Registration_Info_UClass_UPythonResourceOwner.OuterSingleton;
|
|
}
|
|
DEFINE_VTABLE_PTR_HELPER_CTOR_NS(, UPythonResourceOwner);
|
|
// ********** End Interface UPythonResourceOwner ***************************************************
|
|
|
|
// ********** Begin Class UPythonObjectHandle ******************************************************
|
|
FClassRegistrationInfo Z_Registration_Info_UClass_UPythonObjectHandle;
|
|
UClass* UPythonObjectHandle::GetPrivateStaticClass()
|
|
{
|
|
using TClass = UPythonObjectHandle;
|
|
if (!Z_Registration_Info_UClass_UPythonObjectHandle.InnerSingleton)
|
|
{
|
|
GetPrivateStaticClassBody(
|
|
TClass::StaticPackage(),
|
|
TEXT("PythonObjectHandle"),
|
|
Z_Registration_Info_UClass_UPythonObjectHandle.InnerSingleton,
|
|
StaticRegisterNativesUPythonObjectHandle,
|
|
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_UPythonObjectHandle.InnerSingleton;
|
|
}
|
|
UClass* Z_Construct_UClass_UPythonObjectHandle_NoRegister()
|
|
{
|
|
return UPythonObjectHandle::GetPrivateStaticClass();
|
|
}
|
|
struct Z_Construct_UClass_UPythonObjectHandle_Statics
|
|
{
|
|
#if WITH_METADATA
|
|
static constexpr UECodeGen_Private::FMetaDataPairParam Class_MetaDataParams[] = {
|
|
{ "BlueprintType", "true" },
|
|
{ "Comment", "/**\n * Handle object to wrap a Python object for use as a UPROPERTY on a UCLASS or USTRUCT.\n * This allows Python generated types to store arbitrary Python objects as native properties, \n * rather than rely on the lifetime of the Python wrapper object to keep a non-property object reference alive.\n * \n * The following functions are available in Python script to interact with these handles:\n * - unreal.create_python_object_handle(obj) -> handle - Creates an unreal.PythonObjectHandle from a given PyObject.\n * - unreal.resolve_python_object_handle(handle) -> obj - Resolves an unreal.PythonObjectHandle to its PyObject, or None.\n * - unreal.destroy_python_object_handle(handle) - Destroys an unreal.PythonObjectHandle (clearing its PyObject reference).\n * \n * Manually calling destroy is optional, but can be useful when you need to *immediately* clean-up a reference to the wrapped \n * Python object, rather than wait for UE GC to clean it up at an arbitrary point in the future.\n * \n * This can be used to create a property on Python generated types via the standard unreal.uproperty syntax, eg):\n * MyObjectHandleProperty = unreal.uproperty(unreal.PythonObjectHandle)\n */" },
|
|
{ "IncludePath", "PyWrapperBase.h" },
|
|
{ "ModuleRelativePath", "Private/PyWrapperBase.h" },
|
|
{ "ToolTip", "Handle object to wrap a Python object for use as a UPROPERTY on a UCLASS or USTRUCT.\nThis allows Python generated types to store arbitrary Python objects as native properties,\nrather than rely on the lifetime of the Python wrapper object to keep a non-property object reference alive.\n\nThe following functions are available in Python script to interact with these handles:\n - unreal.create_python_object_handle(obj) -> handle - Creates an unreal.PythonObjectHandle from a given PyObject.\n - unreal.resolve_python_object_handle(handle) -> obj - Resolves an unreal.PythonObjectHandle to its PyObject, or None.\n - unreal.destroy_python_object_handle(handle) - Destroys an unreal.PythonObjectHandle (clearing its PyObject reference).\n\nManually calling destroy is optional, but can be useful when you need to *immediately* clean-up a reference to the wrapped\nPython object, rather than wait for UE GC to clean it up at an arbitrary point in the future.\n\nThis can be used to create a property on Python generated types via the standard unreal.uproperty syntax, eg):\n MyObjectHandleProperty = unreal.uproperty(unreal.PythonObjectHandle)" },
|
|
};
|
|
#endif // WITH_METADATA
|
|
|
|
// ********** Begin Class UPythonObjectHandle constinit property declarations **********************
|
|
// ********** End Class UPythonObjectHandle constinit property declarations ************************
|
|
static UObject* (*const DependentSingletons[])();
|
|
static const UECodeGen_Private::FImplementedInterfaceParams InterfaceParams[];
|
|
static constexpr FCppClassTypeInfoStatic StaticCppClassTypeInfo = {
|
|
TCppClassTypeTraits<UPythonObjectHandle>::IsAbstract,
|
|
};
|
|
static const UECodeGen_Private::FClassParams ClassParams;
|
|
}; // struct Z_Construct_UClass_UPythonObjectHandle_Statics
|
|
UObject* (*const Z_Construct_UClass_UPythonObjectHandle_Statics::DependentSingletons[])() = {
|
|
(UObject* (*)())Z_Construct_UClass_UObject,
|
|
(UObject* (*)())Z_Construct_UPackage__Script_PythonScriptPlugin,
|
|
};
|
|
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UPythonObjectHandle_Statics::DependentSingletons) < 16);
|
|
const UECodeGen_Private::FImplementedInterfaceParams Z_Construct_UClass_UPythonObjectHandle_Statics::InterfaceParams[] = {
|
|
{ Z_Construct_UClass_UPythonResourceOwner_NoRegister, (int32)VTABLE_OFFSET(UPythonObjectHandle, IPythonResourceOwner), false }, // 2495480729
|
|
};
|
|
const UECodeGen_Private::FClassParams Z_Construct_UClass_UPythonObjectHandle_Statics::ClassParams = {
|
|
&UPythonObjectHandle::StaticClass,
|
|
nullptr,
|
|
&StaticCppClassTypeInfo,
|
|
DependentSingletons,
|
|
nullptr,
|
|
nullptr,
|
|
InterfaceParams,
|
|
UE_ARRAY_COUNT(DependentSingletons),
|
|
0,
|
|
0,
|
|
UE_ARRAY_COUNT(InterfaceParams),
|
|
0x000000A8u,
|
|
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UClass_UPythonObjectHandle_Statics::Class_MetaDataParams), Z_Construct_UClass_UPythonObjectHandle_Statics::Class_MetaDataParams)
|
|
};
|
|
void UPythonObjectHandle::StaticRegisterNativesUPythonObjectHandle()
|
|
{
|
|
}
|
|
UClass* Z_Construct_UClass_UPythonObjectHandle()
|
|
{
|
|
if (!Z_Registration_Info_UClass_UPythonObjectHandle.OuterSingleton)
|
|
{
|
|
UECodeGen_Private::ConstructUClass(Z_Registration_Info_UClass_UPythonObjectHandle.OuterSingleton, Z_Construct_UClass_UPythonObjectHandle_Statics::ClassParams);
|
|
}
|
|
return Z_Registration_Info_UClass_UPythonObjectHandle.OuterSingleton;
|
|
}
|
|
UPythonObjectHandle::UPythonObjectHandle(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {}
|
|
DEFINE_VTABLE_PTR_HELPER_CTOR_NS(, UPythonObjectHandle);
|
|
UPythonObjectHandle::~UPythonObjectHandle() {}
|
|
// ********** End Class UPythonObjectHandle ********************************************************
|
|
|
|
// ********** Begin Registration *******************************************************************
|
|
struct Z_CompiledInDeferFile_FID_Engine_Plugins_Experimental_PythonScriptPlugin_Source_PythonScriptPlugin_Private_PyWrapperBase_h__Script_PythonScriptPlugin_Statics
|
|
{
|
|
static constexpr FClassRegisterCompiledInInfo ClassInfo[] = {
|
|
{ Z_Construct_UClass_UPythonResourceOwner, UPythonResourceOwner::StaticClass, TEXT("UPythonResourceOwner"), &Z_Registration_Info_UClass_UPythonResourceOwner, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UPythonResourceOwner), 2495480729U) },
|
|
{ Z_Construct_UClass_UPythonObjectHandle, UPythonObjectHandle::StaticClass, TEXT("UPythonObjectHandle"), &Z_Registration_Info_UClass_UPythonObjectHandle, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UPythonObjectHandle), 3532338359U) },
|
|
};
|
|
}; // Z_CompiledInDeferFile_FID_Engine_Plugins_Experimental_PythonScriptPlugin_Source_PythonScriptPlugin_Private_PyWrapperBase_h__Script_PythonScriptPlugin_Statics
|
|
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Engine_Plugins_Experimental_PythonScriptPlugin_Source_PythonScriptPlugin_Private_PyWrapperBase_h__Script_PythonScriptPlugin_1259246112{
|
|
TEXT("/Script/PythonScriptPlugin"),
|
|
Z_CompiledInDeferFile_FID_Engine_Plugins_Experimental_PythonScriptPlugin_Source_PythonScriptPlugin_Private_PyWrapperBase_h__Script_PythonScriptPlugin_Statics::ClassInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Engine_Plugins_Experimental_PythonScriptPlugin_Source_PythonScriptPlugin_Private_PyWrapperBase_h__Script_PythonScriptPlugin_Statics::ClassInfo),
|
|
nullptr, 0,
|
|
nullptr, 0,
|
|
};
|
|
// ********** End Registration *********************************************************************
|
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|