Main Rebase #5
Binary file not shown.
@@ -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()
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ protected:
|
|||||||
/*Properties*/
|
/*Properties*/
|
||||||
|
|
||||||
/*Functions*/
|
/*Functions*/
|
||||||
|
UFUNCTION(BlueprintImplementableEvent, Category = "Events")
|
||||||
|
void OnDamageTaken();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*Properties*/
|
/*Properties*/
|
||||||
|
|||||||
Reference in New Issue
Block a user