Zdexby TheHolyOneZ
5,159 classes
Class

UVehicle_EngineAudio_C

: UVehicleComponent : USceneComponent : UActorComponent : UObject
/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_EngineAudio.Vehicle_EngineAudio_C 0x02C0 (704 B) align 16 inherited 0x0240 14 scripted vtable /VehicleSystemPlugin/VehicleAssets/Components/Vehicle_EngineAudio
0x00x02C0

Members 16

OffsetSizeNameTypeFlagsDefault
0x08UberGraphFrameFPointerToUberGraphFrameTransient+2 flags{}
0x08OwnerAAVS_Vehicle_C*7 flagsnullptr
0x08EngineAudioUAudioComponent*7 flagsnullptr
0x08EngineStartSoundUSoundBase*6 flagsnullptr
0x08EngineSoundUSoundCue*6 flagsnullptr
0x01Initializedbool7 flagsfalse
0x02690x07padding / unreflected
0x08HighRPMdouble7 flags6500
0x08EngineStartAudioUAudioComponent*7 flagsnullptr
0x08StartTimerTempFTimerHandle5 flags{Handle=0}
0x08Engine AttentuationUSoundAttenuation*6 flags/Game/Ride/Audio/Attenuation/SA_Vehicle_Engine.SA_Vehicle_E…
0x01EngineRunningbool7 flagsfalse
0x02910x07padding / unreflected
0x08MSSEngineSoundUMetaSoundSource*6 flagsnullptr
0x08MSS_Engine AttentuationUSoundAttenuation*6 flags/Game/Ride/Audio/Attenuation/SA_Vehicle_Engine.SA_Vehicle_E…
0x08As BP Vehicle BaseABP_VehicleBase_C*7 flagsnullptr
0x01ActivateTurboFuelboolNet+7 flagsfalse
0x02B10x07padding / unreflected
0x08TurboFuelSFXUAudioComponent*7 flagsnullptr
Inherited from USceneComponent 29
OffsetSizeNameTypeFlagsDefault
0x08PhysicsVolumeTWeakObjectPtr<APhysicsVolume>Transient+6 flagsnullptr
0x08AttachParentUSceneComponent*NetRepNotify+8 flagsnullptr
0x08AttachSocketNameFNameNetRepNotify+5 flagsNone
0x00D80x08padding / unreflected
0x10AttachChildrenTArray<USceneComponent*>NetTransient+7 flags[]
0x10ClientAttachedChildrenTArray<USceneComponent*>Transient+6 flags[]
0x01000x40padding / unreflected
0x18RelativeLocationFVectorNetRepNotify+8 flags{X=0, Y=0, Z=0}
0x18RelativeRotationFRotatorNetRepNotify+7 flags{Pitch=0, Yaw=0, Roll=0}
0x18RelativeScale3DFVectorNetRepNotify+8 flags{X=1, Y=1, Z=1}
0x18ComponentVelocityFVector5 flags{X=0, Y=0, Z=0}
0x01bComponentToWorldUpdated : 1bit 0boolTransient+3 flagsfalse
0x01bAbsoluteLocation : 1bit 2boolNetRepNotify+6 flagsfalse
0x01bAbsoluteRotation : 1bit 3boolNetRepNotify+6 flagsfalse
0x01bAbsoluteScale : 1bit 4boolNetRepNotify+6 flagsfalse
0x01bVisible : 1bit 5boolNetRepNotify+6 flagstrue
0x01bShouldBeAttached : 1bit 6boolNetTransient+3 flagsfalse
0x01bShouldSnapLocationWhenAttached : 1bit 7boolNetTransient+3 flagsfalse
0x01bShouldSnapRotationWhenAttached : 1bit 0boolNetTransient+3 flagsfalse
0x01bShouldSnapScaleWhenAttached : 1bit 1boolNetTransient+3 flagsfalse
0x01bShouldUpdatePhysicsVolume : 1bit 2bool6 flagsfalse
0x01bHiddenInGame : 1bit 3bool7 flagsfalse
0x01bBoundsChangeTriggersStreamingDataRebuild : 1bit 4bool3 flagsfalse
0x01bUseAttachParentBound : 1bit 5bool6 flagsfalse
0x01bComputeFastLocalBounds : 1bit 6bool3 flagsfalse
0x01bComputeBoundsOnceForGame : 1bit 7bool3 flagsfalse
0x01bComputedBoundsOnceForGame : 1bit 0bool3 flagsfalse
0x01bIsNotRenderAttachmentRoot : 1bit 1bool3 flagsfalse
0x01MobilityEComponentMobilityNet+8 flagsMovable
0x01DetailModeEDetailMode9 flagsDM_Low
0x01PhysicsVolumeChangedDelegateFMulticastScriptDelegate4 flags<delegate>
Inherited from UActorComponent 15
OffsetSizeNameTypeFlagsDefault
0x30PrimaryComponentTickFActorComponentTickFunction3 flags{}
0x10ComponentTagsTArray<FName>4 flags[]
0x10AssetUserDataTArray<UAssetUserData*>Protected+8 flags[]
0x00880x04padding / unreflected
0x04UCSSerializationIndexint325 flags-1
0x00900x04padding / unreflected
0x01bNetAddressable : 1bit 5boolProtected+3 flagsfalse
0x01bReplicateUsingRegisteredSubObjectList : 1bit 6boolProtected+9 flagsfalse
0x01bReplicates : 1bit 7boolNet+7 flagsfalse
0x00950x01padding / unreflected
0x01bAutoActivate : 1bit 3bool6 flagsfalse
0x01bIsActive : 1bit 4boolNetTransient+4 flagsfalse
0x01bEditableWhenInherited : 1bit 5bool5 flagstrue
0x01bCanEverAffectNavigation : 1bit 7boolProtected+6 flagsfalse
0x01bIsEditorOnly : 1bit 1bool6 flagsfalse
0x00980x19padding / unreflected
0x01CreationMethodEComponentCreationMethod5 flagsNative
0x01OnComponentActivatedFMulticastScriptDelegate4 flags<delegate>
0x01OnComponentDeactivatedFMulticastScriptDelegate4 flags<delegate>

Functions 14

SignatureFlagsNativeParams
void UpdateTurboFuelParameters()
Script9 statements · 193 bytes of bytecode
0x0000if (!(ActivateTurboFuel)) goto Label_00BE;0x000ECallFunc_IsValid_ReturnValue = IsValid(TurboFuelSFX);0x002Bif (!(CallFunc_IsValid_ReturnValue)) goto Label_00BE;0x0039Owner.GetThrottle(CallFunc_GetThrottle_Throttle);0x0066CallFunc_SetFloatParameter_InFloat_ImplicitCast = Cast<3>(CallFunc_GetThrottle_Throttle);0x0083TurboFuelSFX.SetFloatParameter(FName(Throttle), CallFunc_SetFloatParameter_InFloat_ImplicitCast);0x00BELabel_00BE:0x00BEreturn;0x00C0// end of script
Public0x00
void DeActivateTurboFuelSFX()
Script7 statements · 208 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue = IsValid(TurboFuelSFX);0x001Dif (!(CallFunc_IsValid_ReturnValue)) goto Label_00CD;0x002BTurboFuelSFX.FadeOut(0.5f, 0f, 0);0x005BCallFunc_SpawnSoundAttached_ReturnValue = SpawnSoundAttached(/Game/Ride/Audio/Metasounds/Vehicle/TurboFuel/MSS_Vehicle_TurboFuel_DeActivate.MSS_Vehicle_TurboFuel_DeActivate, this, FName(None), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, nullptr, nullptr, true);0x00CDLabel_00CD:0x00CDreturn;0x00CF// end of script
Public0x00
void ActivateTurboFuelSFX()
Script9 statements · 184 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue = IsValid(TurboFuelSFX);0x001Dif (!(CallFunc_IsValid_ReturnValue)) goto Label_0030;0x002Bgoto Label_00B5;0x0030Label_0030:0x0030CallFunc_SpawnSoundAttached_ReturnValue = SpawnSoundAttached(/Game/Ride/Audio/Metasounds/Vehicle/TurboFuel/MSS_Vehicle_TurboFuel_Activate.MSS_Vehicle_TurboFuel_Activate, this, FName(None), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, nullptr, nullptr, true);0x00A2TurboFuelSFX = CallFunc_SpawnSoundAttached_ReturnValue;0x00B5Label_00B5:0x00B5return;0x00B7// end of script
Public0x00
void StopEngineSounds()
Script18 statements · 301 bytes of bytecode
0x0000PushFlow(Label_012A);0x0005PushFlow(Label_009A);0x000ACallFunc_IsValid_ReturnValue_1 = IsValid(EngineStartAudio);0x0027if (!(CallFunc_IsValid_ReturnValue_1)) PopFlow();0x0031CallFunc_IsPlaying_ReturnValue = EngineStartAudio.IsPlaying();0x005Fif (!(CallFunc_IsPlaying_ReturnValue)) PopFlow();0x0069EngineStartAudio.FadeOut(0.1f, 0f, 0);0x0099PopFlow();0x009ALabel_009A:0x009ACallFunc_IsValid_ReturnValue = IsValid(EngineAudio);0x00B7if (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x00C1CallFunc_IsPlaying_ReturnValue_1 = EngineAudio.IsPlaying();0x00EFif (!(CallFunc_IsPlaying_ReturnValue_1)) PopFlow();0x00F9EngineAudio.FadeOut(0.2f, 0f, 0);0x0129PopFlow();0x012ALabel_012A:0x012Areturn;0x012C// end of script
Public0x00
void SetEngineRunning(bool EngineRunning)
Script7 statements · 88 bytes of bytecode
0x0000CallFunc_NotEqual_BoolBool_ReturnValue = NotEqual_BoolBool(EngineRunning, EngineRunning);0x0026if (!(CallFunc_NotEqual_BoolBool_ReturnValue)) goto Label_0055;0x0034EngineRunning = EngineRunning;0x0047if (!(EngineRunning)) goto Label_0055;0x0055Label_0055:0x0055return;0x0057// end of script
Public0x01
void PlaybackFade(USoundWave* PlayingSoundWave, float PlaybackPercent)
Script5 statements · 54 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_PlayingSoundWave = PlayingSoundWave;0x0012PersistentFrame.K2Node_CustomEvent_PlaybackPercent = PlaybackPercent;0x0024ExecuteUbergraph_Vehicle_EngineAudio(603);0x0033return;0x0035// end of script
0x0C
void PlayIgnition()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_Vehicle_EngineAudio(608);0x000Freturn;0x0011// end of script
0x00
void StopSound()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_Vehicle_EngineAudio(1580);0x000Freturn;0x0011// end of script
0x00
void ChangePassiveState(bool NewPassive)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_NewPassive = NewPassive;0x0012ExecuteUbergraph_Vehicle_EngineAudio(2387);0x0021return;0x0023// end of script
0x01
void ReceiveTick(float DeltaSeconds)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaSeconds = DeltaSeconds;0x0012ExecuteUbergraph_Vehicle_EngineAudio(2440);0x0021return;0x0023// end of script
EventPublic0x04
void ReceiveBeginPlay()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_Vehicle_EngineAudio(2445);0x000Freturn;0x0011// end of script
EventPublic0x00
void CustomEvent(bool IsEngineRunning)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_IsEngineRunning = IsEngineRunning;0x0012ExecuteUbergraph_Vehicle_EngineAudio(2657);0x0021return;0x0023// end of script
0x01
void ClearStartTimer()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_Vehicle_EngineAudio(2858);0x000Freturn;0x0011// end of script
0x00
void ExecuteUbergraph_Vehicle_EngineAudio(int32 EntryPoint)
Script120 statements · 2,866 bytes of bytecode
0x0000PushFlow(Label_0B2F);0x0005goto [EntryPoint];0x000FLabel_000F:0x000FUpdateTurboFuelParameters();0x001DPopFlow();0x001ELabel_001E:0x001ECallFunc_IsValid_ReturnValue = IsValid(EngineStartAudio);0x003Bif (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x0045CallFunc_K2_GetTimerElapsedTimeHandle_ReturnValue = K2_GetTimerElapsedTimeHandle(this, StartTimerTemp);0x006BCallFunc_Divide_DoubleDouble_A_ImplicitCast = Cast<4>(CallFunc_K2_GetTimerElapsedTimeHandle_ReturnValue);0x0088CallFunc_Divide_DoubleDouble_B_ImplicitCast = Cast<4>(EngineStartSound.Duration);0x00BBCallFunc_Divide_DoubleDouble_ReturnValue = Divide_DoubleDouble(CallFunc_Divide_DoubleDouble_A_ImplicitCast, CallFunc_Divide_DoubleDouble_B_ImplicitCast);0x00E9CallFunc_MapRangeClamped_ReturnValue = MapRangeClamped(CallFunc_Divide_DoubleDouble_ReturnValue, 0.25, 1, 1, 0);0x0132CallFunc_SetVolumeMultiplier_NewVolumeMultiplier_ImplicitCast = Cast<3>(CallFunc_MapRangeClamped_ReturnValue);0x014FEngineStartAudio.SetVolumeMultiplier(CallFunc_SetVolumeMultiplier_NewVolumeMultiplier_ImplicitCast);0x0178PopFlow();0x0179Label_0179:0x0179CallFunc_IsValid_ReturnValue_1 = IsValid(EngineStartSound);0x0196if (!(CallFunc_IsValid_ReturnValue_1)) PopFlow();0x01A0Owner.GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x01CDCallFunc_SpawnSoundAttached_ReturnValue_1 = SpawnSoundAttached(EngineStartSound, CallFunc_GetVehicleMesh_Mesh, FName(TruckGearBox), FVector(0, 0, 0), FRotator(0, 0, 0), 3, true, 0.35f, 1f, 0f, nullptr, nullptr, true);0x0247EngineStartAudio = CallFunc_SpawnSoundAttached_ReturnValue_1;0x025APopFlow();0x025Bgoto Label_001E;0x0260if (!(Initialized)) PopFlow();0x026APushFlow(Label_0274);0x026Fgoto Label_0179;0x0274Label_0274:0x0274CallFunc_IsValid_ReturnValue_2 = IsValid(EngineAudio);0x0291if (!(CallFunc_IsValid_ReturnValue_2)) goto Label_0335;0x029FLabel_029F:0x029FCallFunc_IsValid_ReturnValue_6 = IsValid(EngineAudio);0x02BCif (!(CallFunc_IsValid_ReturnValue_6)) goto Label_03C7;0x02CACallFunc_IsValid_ReturnValue_7 = IsValid(EngineAudio.Sound);0x02FDif (!(CallFunc_IsValid_ReturnValue_7)) goto Label_03C7;0x030BEngineAudio.Play(0f);0x0334PopFlow();0x0335Label_0335:0x0335CallFunc_SpawnSoundAttached_ReturnValue = SpawnSoundAttached(MSSEngineSound, this, FName(None), FVector(0, 0, 0), FRotator(0, 0, 0), 3, false, 0.35f, 1f, 0f, MSS_Engine Attentuation, nullptr, true);0x03AFEngineAudio = CallFunc_SpawnSoundAttached_ReturnValue;0x03C2goto Label_029F;0x03C7Label_03C7:0x03C7CallFunc_GetOwner_ReturnValue = GetOwner();0x03DBCallFunc_GetDisplayName_ReturnValue = GetDisplayName(CallFunc_GetOwner_ReturnValue);0x0400CallFunc_Concat_StrStr_ReturnValue = Concat_StrStr(CallFunc_GetDisplayName_ReturnValue, " :: Engine Audio not valid!");0x0442PrintString(this, CallFunc_Concat_StrStr_ReturnValue, true, true, LinearColor{1f, 0f, 0.005f, 1f}, 2f, FName(None));0x048CK2_DestroyComponent(this);0x0497PopFlow();0x0498Label_0498:0x0498CallFunc_IsDedicatedServer_ReturnValue = IsDedicatedServer(this);0x04ADCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsDedicatedServer_ReturnValue);0x04CAif (!(CallFunc_Not_PreBool_ReturnValue)) goto Label_0620;0x04D8CallFunc_GetOwner_ReturnValue_1 = GetOwner();0x04ECK2Node_DynamicCast_AsAVS_Vehicle = Cast<AVS_Vehicle_C>(CallFunc_GetOwner_ReturnValue_1);0x0510K2Node_DynamicCast_bSuccess_1 = Cast<1>(K2Node_DynamicCast_AsAVS_Vehicle);0x052Dif (!(K2Node_DynamicCast_bSuccess_1)) PopFlow();0x0537Owner = K2Node_DynamicCast_AsAVS_Vehicle;0x054AInitialized = true;0x0555CallFunc_GetOwner_ReturnValue_1 = GetOwner();0x0569K2Node_DynamicCast_AsBP_Vehicle_Base = Cast<BP_VehicleBase_C>(CallFunc_GetOwner_ReturnValue_1);0x058DK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsBP_Vehicle_Base);0x05AAif (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x05B4As BP Vehicle Base = K2Node_DynamicCast_AsBP_Vehicle_Base;0x05C7K2Node_CreateDelegate_OutputDelegate.Bind(this, CustomEvent);0x05DEOwner.OnEngineRunningUpdatedEvent += K2Node_CreateDelegate_OutputDelegate;0x0607if (!(ActivateTurboFuel)) PopFlow();0x0611ActivateTurboFuelSFX();0x061FPopFlow();0x0620Label_0620:0x0620K2_DestroyComponent(this);0x062BPopFlow();0x062CPopFlow();0x062DLabel_062D:0x062Dif (!(Initialized)) PopFlow();0x0637CallFunc_IsValid_ReturnValue_3 = IsValid(EngineAudio);0x0654if (!(CallFunc_IsValid_ReturnValue_3)) PopFlow();0x065ECallFunc_IsValid_ReturnValue_4 = IsValid(EngineAudio.Sound);0x0691if (!(CallFunc_IsValid_ReturnValue_4)) PopFlow();0x069BOwner.GetTorque(CallFunc_GetTorque_Torque);0x06C8CallFunc_Divide_DoubleDouble_ReturnValue_1 = Divide_DoubleDouble(CallFunc_GetTorque_Torque, 200);0x06F6CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Divide_DoubleDouble_ReturnValue_1, 0, 2);0x072DCallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_FClamp_ReturnValue, 1000);0x075BOwner.GetRPM(CallFunc_GetRPM_RPM);0x0788CallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(CallFunc_GetRPM_RPM, 700);0x07B6CallFunc_Subtract_DoubleDouble_ReturnValue = Subtract_DoubleDouble(CallFunc_Add_DoubleDouble_ReturnValue, CallFunc_Multiply_DoubleDouble_ReturnValue);0x07E4CallFunc_MapRangeClamped_ReturnValue_1 = MapRangeClamped(As BP Vehicle Base.VehicleSpeedFromWheelRotation, 0, 100, 1, 1.5);0x0843CallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(CallFunc_Subtract_DoubleDouble_ReturnValue, CallFunc_MapRangeClamped_ReturnValue_1);0x0871CallFunc_SetFloatParameter_InFloat_ImplicitCast_1 = Cast<3>(CallFunc_Multiply_DoubleDouble_ReturnValue_1);0x088EEngineAudio.SetFloatParameter(FName(CurrentRPM), CallFunc_SetFloatParameter_InFloat_ImplicitCast_1);0x08C9Owner.GetThrottle(CallFunc_GetThrottle_Throttle);0x08F6CallFunc_SetFloatParameter_InFloat_ImplicitCast = Cast<3>(CallFunc_GetThrottle_Throttle);0x0913EngineAudio.SetFloatParameter(FName(Throttle), CallFunc_SetFloatParameter_InFloat_ImplicitCast);0x094Egoto Label_000F;0x0953CallFunc_Not_PreBool_ReturnValue_1 = Not_PreBool(K2Node_CustomEvent_NewPassive);0x0970SetComponentTickEnabled(CallFunc_Not_PreBool_ReturnValue_1);0x0987PopFlow();0x0988goto Label_062D;0x098Dgoto Label_0498;0x0992Label_0992:0x0992K2_ClearAndInvalidateTimerHandle(this, StartTimerTemp);0x09A6PopFlow();0x09A7Label_09A7:0x09A7CallFunc_IsValid_ReturnValue_5 = IsValid(EngineAudio);0x09C4if (!(CallFunc_IsValid_ReturnValue_5)) goto Label_09D3;0x09D2PopFlow();0x09D3Label_09D3:0x09D3CallFunc_SpawnSoundAttached_ReturnValue_2 = SpawnSoundAttached(MSSEngineSound, this, FName(None), FVector(0, 0, 0), FRotator(0, 0, 0), 3, false, 0.35f, 1f, 0f, MSS_Engine Attentuation, nullptr, true);0x0A4DEngineAudio = CallFunc_SpawnSoundAttached_ReturnValue_2;0x0A60PopFlow();0x0A61if (!(K2Node_CustomEvent_IsEngineRunning)) goto Label_0A74;0x0A6Fgoto Label_09A7;0x0A74Label_0A74:0x0A74StopEngineSounds();0x0A82Owner.GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0AAFCallFunc_SpawnSoundAttached_ReturnValue_3 = SpawnSoundAttached(/Game/Ride/Audio/Metasounds/Vehicle/Ignition/MSS_Vehicle_Ignition_Stop.MSS_Vehicle_Ignition_Stop, CallFunc_GetVehicleMesh_Mesh_1, FName(TruckGearBox), FVector(0, 0, 0), FRotator(0, 0, 0), 3, true, 0.35f, 1f, 0f, nullptr, nullptr, true);0x0B29PopFlow();0x0B2Agoto Label_0992;0x0B2FLabel_0B2F:0x0B2Freturn;0x0B31// end of script
Final0x04

Used by 2

types with a member, parameter or interface of this type