https://differentdirection.youtrack.cloud/issue/OC-3/Replication-Projectiles complete #3

Merged
Keeper317 merged 26 commits from projectilebase into main 2026-01-03 06:14:31 +00:00
3 changed files with 3 additions and 0 deletions
Showing only changes of commit c7e3a83497 - Show all commits

View File

@@ -83,6 +83,7 @@ void ADDICharacter::Server_SpawnProjectile_Implementation()
void ADDICharacter::Client_CharacterHit_Implementation() void ADDICharacter::Client_CharacterHit_Implementation()
{ {
TakeDamage(10); TakeDamage(10);
OnDamageTaken();
} }
bool ADDICharacter::Client_CharacterHit_Validate() bool ADDICharacter::Client_CharacterHit_Validate()

View File

@@ -24,6 +24,8 @@ protected:
/*Properties*/ /*Properties*/
/*Functions*/ /*Functions*/
UFUNCTION(BlueprintImplementableEvent, Category = "Events")
void OnDamageTaken();
public: public:
/*Properties*/ /*Properties*/