Section 13 complete, Damage numbers, added Block chance and Critical Hit chance
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
// 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 "Aura/Public/UI/Widget/DamageTextComponent.h"
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
void EmptyLinkFunctionForGeneratedCodeDamageTextComponent() {}
|
||||
|
||||
// Begin Cross Module References
|
||||
AURA_API UClass* Z_Construct_UClass_UDamageTextComponent();
|
||||
AURA_API UClass* Z_Construct_UClass_UDamageTextComponent_NoRegister();
|
||||
UMG_API UClass* Z_Construct_UClass_UWidgetComponent();
|
||||
UPackage* Z_Construct_UPackage__Script_Aura();
|
||||
// End Cross Module References
|
||||
|
||||
// Begin Class UDamageTextComponent Function SetDamageText
|
||||
struct DamageTextComponent_eventSetDamageText_Parms
|
||||
{
|
||||
float Damage;
|
||||
bool bCritical;
|
||||
bool bBlocked;
|
||||
};
|
||||
static const FName NAME_UDamageTextComponent_SetDamageText = FName(TEXT("SetDamageText"));
|
||||
void UDamageTextComponent::SetDamageText(float Damage, bool bCritical, bool bBlocked)
|
||||
{
|
||||
DamageTextComponent_eventSetDamageText_Parms Parms;
|
||||
Parms.Damage=Damage;
|
||||
Parms.bCritical=bCritical ? true : false;
|
||||
Parms.bBlocked=bBlocked ? true : false;
|
||||
UFunction* Func = FindFunctionChecked(NAME_UDamageTextComponent_SetDamageText);
|
||||
ProcessEvent(Func,&Parms);
|
||||
}
|
||||
struct Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics
|
||||
{
|
||||
#if WITH_METADATA
|
||||
static constexpr UECodeGen_Private::FMetaDataPairParam Function_MetaDataParams[] = {
|
||||
{ "ModuleRelativePath", "Public/UI/Widget/DamageTextComponent.h" },
|
||||
};
|
||||
#endif // WITH_METADATA
|
||||
static const UECodeGen_Private::FFloatPropertyParams NewProp_Damage;
|
||||
static void NewProp_bCritical_SetBit(void* Obj);
|
||||
static const UECodeGen_Private::FBoolPropertyParams NewProp_bCritical;
|
||||
static void NewProp_bBlocked_SetBit(void* Obj);
|
||||
static const UECodeGen_Private::FBoolPropertyParams NewProp_bBlocked;
|
||||
static const UECodeGen_Private::FPropertyParamsBase* const PropPointers[];
|
||||
static const UECodeGen_Private::FFunctionParams FuncParams;
|
||||
};
|
||||
const UECodeGen_Private::FFloatPropertyParams Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_Damage = { "Damage", nullptr, (EPropertyFlags)0x0010000000000080, UECodeGen_Private::EPropertyGenFlags::Float, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, STRUCT_OFFSET(DamageTextComponent_eventSetDamageText_Parms, Damage), METADATA_PARAMS(0, nullptr) };
|
||||
void Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bCritical_SetBit(void* Obj)
|
||||
{
|
||||
((DamageTextComponent_eventSetDamageText_Parms*)Obj)->bCritical = 1;
|
||||
}
|
||||
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bCritical = { "bCritical", nullptr, (EPropertyFlags)0x0010000000000080, UECodeGen_Private::EPropertyGenFlags::Bool | UECodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(bool), sizeof(DamageTextComponent_eventSetDamageText_Parms), &Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bCritical_SetBit, METADATA_PARAMS(0, nullptr) };
|
||||
void Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bBlocked_SetBit(void* Obj)
|
||||
{
|
||||
((DamageTextComponent_eventSetDamageText_Parms*)Obj)->bBlocked = 1;
|
||||
}
|
||||
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bBlocked = { "bBlocked", nullptr, (EPropertyFlags)0x0010000000000080, UECodeGen_Private::EPropertyGenFlags::Bool | UECodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(bool), sizeof(DamageTextComponent_eventSetDamageText_Parms), &Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bBlocked_SetBit, METADATA_PARAMS(0, nullptr) };
|
||||
const UECodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::PropPointers[] = {
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_Damage,
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bCritical,
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::NewProp_bBlocked,
|
||||
};
|
||||
static_assert(UE_ARRAY_COUNT(Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::PropPointers) < 2048);
|
||||
const UECodeGen_Private::FFunctionParams Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UDamageTextComponent, nullptr, "SetDamageText", nullptr, nullptr, Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::PropPointers, UE_ARRAY_COUNT(Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::PropPointers), sizeof(DamageTextComponent_eventSetDamageText_Parms), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x0C020800, 0, 0, METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::Function_MetaDataParams), Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::Function_MetaDataParams) };
|
||||
static_assert(sizeof(DamageTextComponent_eventSetDamageText_Parms) < MAX_uint16);
|
||||
UFunction* Z_Construct_UFunction_UDamageTextComponent_SetDamageText()
|
||||
{
|
||||
static UFunction* ReturnFunction = nullptr;
|
||||
if (!ReturnFunction)
|
||||
{
|
||||
UECodeGen_Private::ConstructUFunction(&ReturnFunction, Z_Construct_UFunction_UDamageTextComponent_SetDamageText_Statics::FuncParams);
|
||||
}
|
||||
return ReturnFunction;
|
||||
}
|
||||
// End Class UDamageTextComponent Function SetDamageText
|
||||
|
||||
// Begin Class UDamageTextComponent
|
||||
void UDamageTextComponent::StaticRegisterNativesUDamageTextComponent()
|
||||
{
|
||||
}
|
||||
IMPLEMENT_CLASS_NO_AUTO_REGISTRATION(UDamageTextComponent);
|
||||
UClass* Z_Construct_UClass_UDamageTextComponent_NoRegister()
|
||||
{
|
||||
return UDamageTextComponent::StaticClass();
|
||||
}
|
||||
struct Z_Construct_UClass_UDamageTextComponent_Statics
|
||||
{
|
||||
#if WITH_METADATA
|
||||
static constexpr UECodeGen_Private::FMetaDataPairParam Class_MetaDataParams[] = {
|
||||
#if !UE_BUILD_SHIPPING
|
||||
{ "Comment", "/**\n * \n */" },
|
||||
#endif
|
||||
{ "HideCategories", "Object Activation Components|Activation Sockets Base Lighting LOD Mesh Mobility Trigger" },
|
||||
{ "IncludePath", "UI/Widget/DamageTextComponent.h" },
|
||||
{ "ModuleRelativePath", "Public/UI/Widget/DamageTextComponent.h" },
|
||||
};
|
||||
#endif // WITH_METADATA
|
||||
static UObject* (*const DependentSingletons[])();
|
||||
static constexpr FClassFunctionLinkInfo FuncInfo[] = {
|
||||
{ &Z_Construct_UFunction_UDamageTextComponent_SetDamageText, "SetDamageText" }, // 3412916894
|
||||
};
|
||||
static_assert(UE_ARRAY_COUNT(FuncInfo) < 2048);
|
||||
static constexpr FCppClassTypeInfoStatic StaticCppClassTypeInfo = {
|
||||
TCppClassTypeTraits<UDamageTextComponent>::IsAbstract,
|
||||
};
|
||||
static const UECodeGen_Private::FClassParams ClassParams;
|
||||
};
|
||||
UObject* (*const Z_Construct_UClass_UDamageTextComponent_Statics::DependentSingletons[])() = {
|
||||
(UObject* (*)())Z_Construct_UClass_UWidgetComponent,
|
||||
(UObject* (*)())Z_Construct_UPackage__Script_Aura,
|
||||
};
|
||||
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UDamageTextComponent_Statics::DependentSingletons) < 16);
|
||||
const UECodeGen_Private::FClassParams Z_Construct_UClass_UDamageTextComponent_Statics::ClassParams = {
|
||||
&UDamageTextComponent::StaticClass,
|
||||
"Engine",
|
||||
&StaticCppClassTypeInfo,
|
||||
DependentSingletons,
|
||||
FuncInfo,
|
||||
nullptr,
|
||||
nullptr,
|
||||
UE_ARRAY_COUNT(DependentSingletons),
|
||||
UE_ARRAY_COUNT(FuncInfo),
|
||||
0,
|
||||
0,
|
||||
0x00B010A4u,
|
||||
METADATA_PARAMS(UE_ARRAY_COUNT(Z_Construct_UClass_UDamageTextComponent_Statics::Class_MetaDataParams), Z_Construct_UClass_UDamageTextComponent_Statics::Class_MetaDataParams)
|
||||
};
|
||||
UClass* Z_Construct_UClass_UDamageTextComponent()
|
||||
{
|
||||
if (!Z_Registration_Info_UClass_UDamageTextComponent.OuterSingleton)
|
||||
{
|
||||
UECodeGen_Private::ConstructUClass(Z_Registration_Info_UClass_UDamageTextComponent.OuterSingleton, Z_Construct_UClass_UDamageTextComponent_Statics::ClassParams);
|
||||
}
|
||||
return Z_Registration_Info_UClass_UDamageTextComponent.OuterSingleton;
|
||||
}
|
||||
template<> AURA_API UClass* StaticClass<UDamageTextComponent>()
|
||||
{
|
||||
return UDamageTextComponent::StaticClass();
|
||||
}
|
||||
UDamageTextComponent::UDamageTextComponent(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {}
|
||||
DEFINE_VTABLE_PTR_HELPER_CTOR(UDamageTextComponent);
|
||||
UDamageTextComponent::~UDamageTextComponent() {}
|
||||
// End Class UDamageTextComponent
|
||||
|
||||
// Begin Registration
|
||||
struct Z_CompiledInDeferFile_FID_Aura_Source_Aura_Public_UI_Widget_DamageTextComponent_h_Statics
|
||||
{
|
||||
static constexpr FClassRegisterCompiledInInfo ClassInfo[] = {
|
||||
{ Z_Construct_UClass_UDamageTextComponent, UDamageTextComponent::StaticClass, TEXT("UDamageTextComponent"), &Z_Registration_Info_UClass_UDamageTextComponent, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UDamageTextComponent), 2756276513U) },
|
||||
};
|
||||
};
|
||||
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Aura_Source_Aura_Public_UI_Widget_DamageTextComponent_h_391214347(TEXT("/Script/Aura"),
|
||||
Z_CompiledInDeferFile_FID_Aura_Source_Aura_Public_UI_Widget_DamageTextComponent_h_Statics::ClassInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Aura_Source_Aura_Public_UI_Widget_DamageTextComponent_h_Statics::ClassInfo),
|
||||
nullptr, 0,
|
||||
nullptr, 0);
|
||||
// End Registration
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
Reference in New Issue
Block a user