https://differentdirection.youtrack.cloud/issue/OC-3/Replication-Projectiles complete #3
Binary file not shown.
@@ -83,6 +83,7 @@ void ADDICharacter::Server_SpawnProjectile_Implementation()
|
||||
void ADDICharacter::Client_CharacterHit_Implementation()
|
||||
{
|
||||
TakeDamage(10);
|
||||
OnDamageTaken();
|
||||
|
||||
}
|
||||
bool ADDICharacter::Client_CharacterHit_Validate()
|
||||
|
||||
@@ -24,6 +24,8 @@ protected:
|
||||
/*Properties*/
|
||||
|
||||
/*Functions*/
|
||||
UFUNCTION(BlueprintImplementableEvent, Category = "Events")
|
||||
void OnDamageTaken();
|
||||
|
||||
public:
|
||||
/*Properties*/
|
||||
|
||||
Reference in New Issue
Block a user