Zdexby TheHolyOneZ
3,987 classes
Class

UHealthComponent_C

: UActorComponent : UObject
/Game/Comatose/HealthComponent/HealthComponent.HealthComponent_C 0x0121 (289 B) align 8 inherited 0x00A0 15 scripted vtable /Game/Comatose/HealthComponent/HealthComponent
0x00x0121

Members 18

OffsetSizeNameTypeFlagsDefault
0x08UberGraphFrameFPointerToUberGraphFrameTransient+2 flags{}
0x08Current Healthdouble7 flags0
0x10Critical Damage BonesTArray<FName>2 flags[]
0x08Base Healthdouble6 flags100
0x10Health ChangedFMulticastScriptDelegateBlueprintCallable+5 flags<delegate>
0x10Health DepletedFMulticastScriptDelegateBlueprintCallable+5 flags<delegate>
0x01Health was Depletedbool7 flagsfalse
0x01Under Damage Cooldownbool7 flagsfalse
0x00EA0x06padding / unreflected
0x08Damage Cooldowndouble7 flags0.5
0x01Uses Damage Cooldownbool7 flagstrue
0x01Insta kill Protectionbool6 flagsfalse
0x01Pending Killbool7 flagsfalse
0x01Debug Healthbool7 flagsfalse
0x01Blockingbool7 flagsfalse
0x00FD0x03padding / unreflected
0x08CT Game InstanceUCT_GameInstance_C*6 flagsnullptr
0x01Game Pausedbool7 flagsfalse
0x01090x07padding / unreflected
0x10Acceptable bones for Physical hitsTArray<FName>2 flags[13 items]
0x01Physics Hit Animationsbool6 flagsfalse
Inherited from UActorComponent 15
OffsetSizeNameTypeFlagsDefault
0x30PrimaryComponentTickFActorComponentTickFunction3 flags{}
0x10ComponentTagsTArray<FName>4 flags[]
0x10AssetUserDataTArray<UAssetUserData*>Protected+7 flags[]
0x00800x04padding / unreflected
0x04UCSSerializationIndexint325 flags-1
0x01bNetAddressable : 1bit 3boolProtected+3 flagsfalse
0x01bReplicateUsingRegisteredSubObjectList : 1bit 4boolProtected+9 flagsfalse
0x01bReplicates : 1bit 5boolNet+7 flagsfalse
0x00890x01padding / unreflected
0x01bAutoActivate : 1bit 1bool6 flagsfalse
0x01bIsActive : 1bit 2boolNetTransient+4 flagsfalse
0x01bEditableWhenInherited : 1bit 3bool5 flagstrue
0x01bCanEverAffectNavigation : 1bit 5boolProtected+6 flagsfalse
0x01bIsEditorOnly : 1bit 7bool6 flagsfalse
0x008B0x02padding / unreflected
0x01CreationMethodEComponentCreationMethod5 flagsNative
0x01OnComponentActivatedFMulticastScriptDelegate4 flags<delegate>
0x01OnComponentDeactivatedFMulticastScriptDelegate4 flags<delegate>

Functions 15

SignatureFlagsNativeParams
void Toggled game pause(bool Paused)
Script3 statements · 22 bytes of bytecode
0x0000Game Paused = Paused;0x0013return;0x0015// end of script
Public0x01
void Set Blocking(bool Blocking)
Script3 statements · 22 bytes of bytecode
0x0000Blocking = Blocking;0x0013return;0x0015// end of script
Public0x01
void Check Debug Health(float Duration)
Script7 statements · 188 bytes of bytecode
0x0000if (!(Debug Health)) goto Label_00B9;0x000ECallFunc_Conv_DoubleToString_ReturnValue = Conv_DoubleToString(Current Health);0x0033CallFunc_Concat_StrStr_ReturnValue = Concat_StrStr("Current Health : ", CallFunc_Conv_DoubleToString_ReturnValue);0x006BPrintString(this, CallFunc_Concat_StrStr_ReturnValue, true, true, LinearColor{0f, 0.66f, 1f, 1f}, Duration, FName(None));0x00B9Label_00B9:0x00B9return;0x00BB// end of script
Public0x04
void Get Health Ratio(const double& 0-1)
Script4 statements · 76 bytes of bytecode
0x0000CallFunc_SafeDivide_ReturnValue = SafeDivide(Current Health, Base Health);0x002E0-1 = CallFunc_SafeDivide_ReturnValue;0x0049return;0x004B// end of script
Public0x08
void Set Current Health(double Desired)
Script3 statements · 30 bytes of bytecode
0x0000Current Health = Desired;0x001Breturn;0x001D// end of script
Public0x08
void Get Current Health(const double& ?)
Script3 statements · 30 bytes of bytecode
0x0000? = Current Health;0x001Breturn;0x001D// end of script
Public0x08
void Receive Healing(double Healing to Receive)
Script8 statements · 208 bytes of bytecode
0x0000CallFunc_Abs_ReturnValue = Abs(Healing to Receive);0x0025CallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(Current Health, CallFunc_Abs_ReturnValue);0x0053CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Add_DoubleDouble_ReturnValue, 0, Base Health);0x008ACurrent Health = CallFunc_FClamp_ReturnValue;0x00A5Pending Kill = false;0x00B0Health Changed.Broadcast(true, Healing to Receive);0x00CDreturn;0x00CF// end of script
Public0x08
void Receive Damage(AActor* Damage Dealer, const FName& Hit bone, double Damage to Receive, USoundBase* Sfx, bool Should not kill, const FHitResult& Hit Result (for hit reactions))
Script59 statements · 1,795 bytes of bytecode
0x0000PushFlow(Label_0700);0x0005CallFunc_Not_PreBool_ReturnValue = Not_PreBool(Game Paused);0x0022CallFunc_Not_PreBool_ReturnValue_1 = Not_PreBool(Uses Damage Cooldown);0x003FCallFunc_Not_PreBool_ReturnValue_2 = Not_PreBool(Under Damage Cooldown);0x005CCallFunc_Not_PreBool_ReturnValue_3 = Not_PreBool(Health was Depleted);0x0079CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_Not_PreBool_ReturnValue_2, CallFunc_Not_PreBool_ReturnValue_1);0x009FCallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue_3, CallFunc_BooleanOR_ReturnValue);0x00C5CallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_BooleanAND_ReturnValue, CallFunc_Not_PreBool_ReturnValue);0x00EBif (!(CallFunc_BooleanAND_ReturnValue_1)) PopFlow();0x00F5CallFunc_Array_Find_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Find(Critical Damage Bones, Hit bone);0x0139CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(Damage to Receive, 1.5);0x0167CallFunc_NotEqual_IntInt_ReturnValue_1 = NotEqual_IntInt(CallFunc_Array_Find_ReturnValue_1, -1);0x0189CallFunc_SelectFloat_ReturnValue = SelectFloat(CallFunc_Multiply_DoubleDouble_ReturnValue, Damage to Receive, CallFunc_NotEqual_IntInt_ReturnValue_1);0x01C0Calculated Damage to Receive = CallFunc_SelectFloat_ReturnValue;0x01DBTrigger Damage Cooldown();0x01E9PushFlow(Label_054A);0x01EEPushFlow(Label_02B2);0x01F3CallFunc_IsValid_ReturnValue = IsValid(Sfx);0x0210if (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x021ACallFunc_GetOwner_ReturnValue_1 = GetOwner();0x022ECallFunc_K2_GetActorLocation_ReturnValue = CallFunc_GetOwner_ReturnValue_1.K2_GetActorLocation();0x0260PlaySoundAtLocation(this, Sfx, CallFunc_K2_GetActorLocation_ReturnValue, FRotator(0, 0, 0), 1f, 1f, 0f, /Game/Comatose/Audio/AttenuationData/Attenuation_DefaultSounds.Attenuation_DefaultSounds, nullptr, nullptr, nullptr);0x02B1PopFlow();0x02B2Label_02B2:0x02B2if (!(Physics Hit Animations)) PopFlow();0x02BCBreakHitResult(Hit Result (for hit reactions), CallFunc_BreakHitResult_bBlockingHit, CallFunc_BreakHitResult_bInitialOverlap, CallFunc_BreakHitResult_Time, CallFunc_BreakHitResult_Distance, CallFunc_BreakHitResult_Location, CallFunc_BreakHitResult_ImpactPoint, CallFunc_BreakHitResult_Normal, CallFunc_BreakHitResult_ImpactNormal, CallFunc_BreakHitResult_PhysMat, CallFunc_BreakHitResult_HitActor, CallFunc_BreakHitResult_HitComponent, CallFunc_BreakHitResult_HitBoneName, CallFunc_BreakHitResult_BoneName, CallFunc_BreakHitResult_HitItem, CallFunc_BreakHitResult_ElementIndex, CallFunc_BreakHitResult_FaceIndex, CallFunc_BreakHitResult_TraceStart, CallFunc_BreakHitResult_TraceEnd);0x0371CallFunc_Array_Find_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Find(Acceptable bones for Physical hits, CallFunc_BreakHitResult_HitBoneName);0x03B5CallFunc_NotEqual_IntInt_ReturnValue = NotEqual_IntInt(CallFunc_Array_Find_ReturnValue, -1);0x03D7if (!(CallFunc_NotEqual_IntInt_ReturnValue)) PopFlow();0x03E1CallFunc_GetOwner_ReturnValue = GetOwner();0x03F5CallFunc_AddComponentByClass_ReturnValue = CallFunc_GetOwner_ReturnValue.AddComponentByClass(/Game/Comatose/HealthComponent/PhysicsHitReactionComp.PhysicsHitReactionComp_C, false, FTransform(...), true);0x047B/Script/Engine.Default__KismetSystemLibrary.SetStructurePropertyByName(CallFunc_AddComponentByClass_ReturnValue, FName(Hit Result), Hit Result (for hit reactions));0x04BACallFunc_GetOwner_ReturnValue = GetOwner();0x04CECallFunc_GetOwner_ReturnValue.FinishAddComponent(CallFunc_AddComponentByClass_ReturnValue, false, FTransform(...));0x0549PopFlow();0x054ALabel_054A:0x054ACallFunc_Divide_DoubleDouble_ReturnValue = Divide_DoubleDouble(Calculated Damage to Receive, 2);0x0578CallFunc_Abs_ReturnValue = Abs(Calculated Damage to Receive);0x059DCallFunc_SelectFloat_ReturnValue_1 = SelectFloat(CallFunc_Divide_DoubleDouble_ReturnValue, CallFunc_Abs_ReturnValue, Blocking);0x05D4CallFunc_Subtract_DoubleDouble_ReturnValue = Subtract_DoubleDouble(Current Health, CallFunc_SelectFloat_ReturnValue_1);0x0602CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Subtract_DoubleDouble_ReturnValue, 0, Base Health);0x0639Current Health = CallFunc_FClamp_ReturnValue;0x0654Health Changed.Broadcast(false, Calculated Damage to Receive);0x0671CallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(Current Health, 0);0x0697if (!(CallFunc_LessEqual_DoubleDouble_ReturnValue)) PopFlow();0x06A1if (!(Insta kill Protection)) goto Label_06D8;0x06AFif (!(Pending Kill)) goto Label_06CC;0x06BDif (!(Should not kill)) goto Label_06D8;0x06CBPopFlow();0x06CCLabel_06CC:0x06CCPending Kill = true;0x06D7PopFlow();0x06D8Label_06D8:0x06D8Health Depleted.Broadcast(Damage Dealer);0x06F4Health was Depleted = true;0x06FFPopFlow();0x0700Label_0700:0x0700return;0x0702// end of script
Public0x110
void ReceiveBeginPlay()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_HealthComponent(27);0x000Freturn;0x0011// end of script
EventPublic0x00
void Update Base Health(double New Base)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_New_Base = New Base;0x0012ExecuteUbergraph_HealthComponent(300);0x0021return;0x0023// end of script
0x08
void Trigger Damage Cooldown()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_HealthComponent(355);0x000Freturn;0x0011// end of script
0x00
void ReceiveTick(float DeltaSeconds)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaSeconds = DeltaSeconds;0x0012ExecuteUbergraph_HealthComponent(454);0x0021return;0x0023// end of script
EventPublic0x04
void ExecuteUbergraph_HealthComponent(int32 EntryPoint)
Script30 statements · 481 bytes of bytecode
0x0000PushFlow(Label_01DE);0x0005goto [EntryPoint];0x000FUnder Damage Cooldown = false;0x001APopFlow();0x001BCurrent Health = Base Health;0x0036CallFunc_GetGameInstance_ReturnValue = GetGameInstance(this);0x004BK2Node_DynamicCast_AsBPI_Comatose_Retriever = Cast<BPI_ComatoseRetriever_C>(CallFunc_GetGameInstance_ReturnValue);0x006FK2Node_DynamicCast_bSuccess = Cast<2>(K2Node_DynamicCast_AsBPI_Comatose_Retriever);0x008Cif (!(K2Node_DynamicCast_bSuccess)) goto Label_011C;0x009AK2Node_DynamicCast_AsBPI_Comatose_Retriever.Retrieve Comatose Game Instance(CallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance);0x00C8Label_00C8:0x00C8CT Game Instance = CallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance;0x00DBK2Node_CreateDelegate_OutputDelegate.Bind(this, Toggled game pause);0x00F2CT Game Instance.Paused Game += K2Node_CreateDelegate_OutputDelegate;0x011BPopFlow();0x011CLabel_011C:0x011CCallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance = nullptr;0x0127goto Label_00C8;0x012CBase Health = K2Node_CustomEvent_New_Base;0x0147Current Health = Base Health;0x0162PopFlow();0x0163Under Damage Cooldown = true;0x016ECallFunc_Delay_Duration_ImplicitCast = Cast<3>(Damage Cooldown);0x018BDelay(this, CallFunc_Delay_Duration_ImplicitCast, LatentActionInfo{0xF, 1917515334, FName(ExecuteUbergraph_HealthComponent), this});0x01C5PopFlow();0x01C6Check Debug Health(K2Node_Event_DeltaSeconds);0x01DDPopFlow();0x01DELabel_01DE:0x01DEreturn;0x01E0// end of script
Final0x04
void Health Depleted__DelegateSignature(AActor* Damage Causer)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Public0x08
void Health Changed__DelegateSignature(bool Heal, double Change Amount)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Public0x10

Used by 4

types with a member, parameter or interface of this type