From b3f783a45340a55ff6ad9e371226b747c3780c4a Mon Sep 17 00:00:00 2001 From: Kingsmedia Date: Fri, 27 May 2022 22:52:03 +0200 Subject: [PATCH] 195 - Post Edit Change Property --- .../Projectiles/BP_ProjectileBullet.uasset | Bin 23174 -> 23174 bytes .../Weapon/Projectiles/BP_Rocket.uasset | Bin 31420 -> 31297 bytes Source/Blaster/Weapon/ProjectileBullet.cpp | 17 +++++++++++++++++ Source/Blaster/Weapon/ProjectileBullet.h | 4 ++++ Source/Blaster/Weapon/ProjectileRocket.cpp | 17 +++++++++++++++++ Source/Blaster/Weapon/ProjectileRocket.h | 5 +++++ 6 files changed, 43 insertions(+) diff --git a/Content/Blueprints/Weapon/Projectiles/BP_ProjectileBullet.uasset b/Content/Blueprints/Weapon/Projectiles/BP_ProjectileBullet.uasset index 7fe9613c6c7d22c123f2e6b8a8c73de9a06109a0..17dcd5fb547dd7e2ee396043e9361c978674baaa 100644 GIT binary patch delta 38 wcmV+>0NMYBwE>2;0kC2L5W(*TMx(+&MyZeW(GAC^$g^?*p%Vc)vlJC_MNd8uYXATM delta 38 ucmZqM%GkD*aYGWLKzT}#YGBuN&nf$*X726rkKSCwxKNnUaI=VLkt+Zr%??2T diff --git a/Content/Blueprints/Weapon/Projectiles/BP_Rocket.uasset b/Content/Blueprints/Weapon/Projectiles/BP_Rocket.uasset index 9046115046884533f04d7f54c6bbebe6258f867a..c8f2b0e157c1ee814d7d38b2707d29cbf44e8470 100644 GIT binary patch delta 6198 zcmcJTc~lcu-^cGH>QZ_7LAYv zL|QFD5zvYYDyNsa&@=)Fk*gu(;w55T%wuOQZNb4c-ZBl|Z8 zr;|42g&+8%_Bg4UbuFaX{Hh-MJo+91JoMp#0VguOkZ~|IeflD@*YxOwO$n>h6WqMq zXX)|*=qn>4;{=xw7aI#3NJs|0OUc!8V!WI>L#y~$>@ zmheYgEwJ1;TVQWHLC_1IYFhKR%drBM4GxpJcJvle@X%%~#(CZ7r5|SHhOar}u<%tz z@CesKUkb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PostEditChangeProperty(Event); + + const FName PropertyName = Event.Property != nullptr ? Event.Property->GetFName() : NAME_None; + if (PropertyName == GET_MEMBER_NAME_CHECKED(AProjectileBullet, InitialSpeed)) + { + if (ProjectileMovementComponent) + { + ProjectileMovementComponent->InitialSpeed = InitialSpeed; + ProjectileMovementComponent->MaxSpeed = InitialSpeed; + } + } +} +#endif + void AProjectileBullet::OnHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) { ACharacter* OwnerCharacter = Cast(GetOwner()); diff --git a/Source/Blaster/Weapon/ProjectileBullet.h b/Source/Blaster/Weapon/ProjectileBullet.h index ca15f10..a53a101 100644 --- a/Source/Blaster/Weapon/ProjectileBullet.h +++ b/Source/Blaster/Weapon/ProjectileBullet.h @@ -17,6 +17,10 @@ class BLASTER_API AProjectileBullet : public AProjectile public: AProjectileBullet(); + +#if WITH_EDITOR + virtual void PostEditChangeProperty(FPropertyChangedEvent& Event) override; +#endif protected: diff --git a/Source/Blaster/Weapon/ProjectileRocket.cpp b/Source/Blaster/Weapon/ProjectileRocket.cpp index 61c28a2..8eb91c1 100644 --- a/Source/Blaster/Weapon/ProjectileRocket.cpp +++ b/Source/Blaster/Weapon/ProjectileRocket.cpp @@ -25,6 +25,23 @@ void AProjectileRocket::Destroyed() { } +#if WITH_EDITOR +void AProjectileRocket::PostEditChangeProperty(FPropertyChangedEvent& Event) +{ + Super::PostEditChangeProperty(Event); + + const FName PropertyName = Event.Property != nullptr ? Event.Property->GetFName() : NAME_None; + if (PropertyName == GET_MEMBER_NAME_CHECKED(AProjectileRocket, InitialSpeed)) + { + if (RocketMovementComponent) + { + RocketMovementComponent->InitialSpeed = InitialSpeed; + RocketMovementComponent->MaxSpeed = InitialSpeed; + } + } +} +#endif + void AProjectileRocket::BeginPlay() { Super::BeginPlay(); diff --git a/Source/Blaster/Weapon/ProjectileRocket.h b/Source/Blaster/Weapon/ProjectileRocket.h index 3b9010f..a0c2e10 100644 --- a/Source/Blaster/Weapon/ProjectileRocket.h +++ b/Source/Blaster/Weapon/ProjectileRocket.h @@ -16,6 +16,11 @@ class BLASTER_API AProjectileRocket : public AProjectile public: AProjectileRocket(); virtual void Destroyed() override; + +#if WITH_EDITOR + virtual void PostEditChangeProperty(FPropertyChangedEvent& Event) override; +#endif + protected: virtual void OnHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) override;