Zdexby TheHolyOneZ
3,987 classes
Class

UEnemyStealthComponent_C

: UActorComponent : UObject
/Game/Comatose/Enemies/Logic/Components/EnemyStealthComponent.EnemyStealthComponent_C 0x00F2 (242 B) align 8 inherited 0x00A0 9 scripted vtable /Game/Comatose/Enemies/Logic/Components/EnemyStealthComponent
0x00x00F2

Members 10

OffsetSizeNameTypeFlagsDefault
0x08UberGraphFrameFPointerToUberGraphFrameTransient+2 flags{}
0x08Owner EnemyAEnemy_Master_C*7 flagsnullptr
0x00B40x04padding / unreflected
0x08Hidden Spot Radiusdouble6 flags100
0x08Minimum Distancedouble6 flags300
0x18Current Hiding SpotFVector7 flags{X=0, Y=0, Z=0}
0x08Find new Hidden Location HandleFTimerHandle5 flags{Handle=0}
0x08Authenticate Hidden Location HandleFTimerHandle5 flags{Handle=0}
0x01Draw Debugbool6 flagsfalse
0x01Auto Activatebool6 flagstrue
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 9

SignatureFlagsNativeParams
void Activate/Deactivate Component(bool Activate)
Script9 statements · 76 bytes of bytecode
0x0000if (!(Activate)) goto Label_0021;0x000EStart Search for new Hidden Location();0x001Cgoto Label_0049;0x0021Label_0021:0x0021K2_ClearAndInvalidateTimerHandle(this, Find new Hidden Location Handle);0x0035K2_ClearAndInvalidateTimerHandle(this, Authenticate Hidden Location Handle);0x0049Label_0049:0x0049return;0x004B// end of script
Public0x01
void Autenticate Current Hidden Location()
Script7 statements · 94 bytes of bytecode
0x0000Is Spot Hidden?(Current Hiding Spot, true, false, CallFunc_Is_Spot_Hidden___);0x0022CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_Is_Spot_Hidden___);0x003Fif (!(CallFunc_Not_PreBool_ReturnValue)) goto Label_005B;0x004DStart Search for new Hidden Location();0x005BLabel_005B:0x005Breturn;0x005D// end of script
Public0x00
void Set New Hidden Location(const FVector& Location)
Script7 statements · 153 bytes of bytecode
0x0000Current Hiding Spot = Location;0x001BK2_ClearAndInvalidateTimerHandle(this, Find new Hidden Location Handle);0x002FK2Node_CreateDelegate_OutputDelegate.Bind(this, Autenticate Current Hidden Location);0x0046CallFunc_K2_SetTimerDelegate_ReturnValue = K2_SetTimerDelegate(K2Node_CreateDelegate_OutputDelegate, 0.25f, true, 0f, 0f);0x007BAuthenticate Hidden Location Handle = CallFunc_K2_SetTimerDelegate_ReturnValue;0x0096return;0x0098// end of script
Public0x18
void Is Spot Hidden?(const FVector& Desired Spot, bool Check minimum distance, bool LoS, const bool& ?)
Script33 statements · 862 bytes of bytecode
0x0000if (!(Check minimum distance)) goto Label_00BC;0x000ECallFunc_GetPlayerCharacter_ReturnValue = GetPlayerCharacter(this, 0);0x0028CallFunc_K2_GetActorLocation_ReturnValue = CallFunc_GetPlayerCharacter_ReturnValue.K2_GetActorLocation();0x005ACallFunc_Vector_Distance_ReturnValue = Vector_Distance(CallFunc_K2_GetActorLocation_ReturnValue, Desired Spot);0x0088CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_Vector_Distance_ReturnValue, Minimum Distance);0x00AEif (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_02BC;0x00BCLabel_00BC:0x00BCCallFunc_GetPlayerCharacter_ReturnValue_1 = GetPlayerCharacter(this, 0);0x00D6K2Node_MakeArray_Array = {CallFunc_GetPlayerCharacter_ReturnValue_1};0x00EACallFunc_GetPlayerCameraManager_ReturnValue = GetPlayerCameraManager(this, 0);0x0104CallFunc_K2_GetComponentLocation_ReturnValue = CallFunc_GetPlayerCameraManager_ReturnValue.TransformComponent.K2_GetComponentLocation();0x014COwner Enemy.CapsuleComponent.GetScaledCapsuleSize(CallFunc_GetScaledCapsuleSize_OutRadius, CallFunc_GetScaledCapsuleSize_OutHalfHeight);0x0194CallFunc_MakeVector_Z_ImplicitCast = Cast<4>(CallFunc_GetScaledCapsuleSize_OutHalfHeight);0x01B1CallFunc_MakeVector_ReturnValue = MakeVector(0, 0, CallFunc_MakeVector_Z_ImplicitCast);0x01E8CallFunc_Add_VectorVector_ReturnValue = Add_VectorVector(Desired Spot, CallFunc_MakeVector_ReturnValue);0x0216CallFunc_LineTraceSingle_ReturnValue = LineTraceSingle(this, CallFunc_Add_VectorVector_ReturnValue, CallFunc_K2_GetComponentLocation_ReturnValue, 0, false, K2Node_MakeArray_Array, 0, CallFunc_LineTraceSingle_OutHit, true, LinearColor{1f, 0f, 0f, 1f}, LinearColor{0f, 1f, 0f, 1f}, 1f);0x029Eif (!(CallFunc_LineTraceSingle_ReturnValue)) goto Label_02CC;0x02AC? = true;0x02B7goto Label_035B;0x02BCLabel_02BC:0x02BC? = false;0x02C7goto Label_035B;0x02CCLabel_02CC:0x02CCif (!(LoS)) goto Label_0350;0x02DA/Game/Comatose/MainClasses/BPF_CTFunctions.Default__BPF_CTFunctions_C.Is Point on Screen(Desired Spot, Hidden Spot Radius, this, this, CallFunc_Is_Point_on_Screen__);0x031BCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_Is_Point_on_Screen__);0x0338? = CallFunc_Not_PreBool_ReturnValue;0x034Bgoto Label_035B;0x0350Label_0350:0x0350? = false;0x035BLabel_035B:0x035Breturn;0x035D// end of script
Public0x1B
void Find New Hidden Location()
Script10 statements · 244 bytes of bytecode
0x0000Current Random Spot = FVector(0, 0, 0);0x002BCallFunc_K2_GetActorLocation_ReturnValue = Owner Enemy.K2_GetActorLocation();0x005DCallFunc_K2_GetRandomReachablePointInRadius_ReturnValue = K2_GetRandomReachablePointInRadius(this, CallFunc_K2_GetActorLocation_ReturnValue, CallFunc_K2_GetRandomReachablePointInRadius_RandomLocation, Hidden Location Search Radius, nullptr, nullptr);0x008FCurrent Random Spot = CallFunc_K2_GetRandomReachablePointInRadius_RandomLocation;0x00AAIs Spot Hidden?(Current Random Spot, true, false, CallFunc_Is_Spot_Hidden___);0x00CCif (!(CallFunc_Is_Spot_Hidden___)) goto Label_00F1;0x00DASet New Hidden Location(Current Random Spot);0x00F1Label_00F1:0x00F1return;0x00F3// end of script
Public0x00
void ReceiveBeginPlay()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_EnemyStealthComponent(30);0x000Freturn;0x0011// end of script
EventPublic0x00
void ReceiveTick(float DeltaSeconds)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaSeconds = DeltaSeconds;0x0012ExecuteUbergraph_EnemyStealthComponent(229);0x0021return;0x0023// end of script
EventPublic0x04
void ExecuteUbergraph_EnemyStealthComponent(int32 EntryPoint)
Script21 statements · 320 bytes of bytecode
0x0000goto [EntryPoint];0x000ALabel_000A:0x000AActivate/Deactivate Component(true);0x0019goto Label_013D;0x001ECallFunc_GetOwner_ReturnValue = GetOwner();0x0032K2Node_DynamicCast_AsBPI_Comatose_Retriever = Cast<BPI_ComatoseRetriever_C>(CallFunc_GetOwner_ReturnValue);0x0056K2Node_DynamicCast_bSuccess = Cast<2>(K2Node_DynamicCast_AsBPI_Comatose_Retriever);0x0073if (!(K2Node_DynamicCast_bSuccess)) goto Label_00D5;0x0081K2Node_DynamicCast_AsBPI_Comatose_Retriever.Retrieve Comatose Master Enemy(CallFunc_Retrieve_Comatose_Master_Enemy_Enemy_Ref);0x00AFLabel_00AF:0x00AFOwner Enemy = CallFunc_Retrieve_Comatose_Master_Enemy_Enemy_Ref;0x00C2if (!(Auto Activate)) goto Label_013D;0x00D0goto Label_000A;0x00D5Label_00D5:0x00D5CallFunc_Retrieve_Comatose_Master_Enemy_Enemy_Ref = nullptr;0x00E0goto Label_00AF;0x00E5if (!(Draw Debug)) goto Label_013D;0x00F3DrawDebugSphere(this, Current Hiding Spot, 100f, 12, LinearColor{1f, 1f, 1f, 1f}, 1f, 5f);0x013DLabel_013D:0x013Dreturn;0x013F// end of script
Final0x04

Used by 3

types with a member, parameter or interface of this type