Make INotifyDamage require explicit implementation

This commit is contained in:
reaperrr
2018-04-29 04:45:37 +02:00
committed by Paul Chote
parent ccd070afd6
commit 7ca9aa5e0b
7 changed files with 7 additions and 6 deletions

View File

@@ -83,6 +83,7 @@ namespace OpenRA.Mods.Common.Traits
[RequireExplicitImplementation]
public interface INotifyDamageStateChanged { void DamageStateChanged(Actor self, AttackInfo e); }
[RequireExplicitImplementation]
public interface INotifyDamage { void Damaged(Actor self, AttackInfo e); }
public interface INotifyKilled { void Killed(Actor self, AttackInfo e); }
public interface INotifyAppliedDamage { void AppliedDamage(Actor self, Actor damaged, AttackInfo e); }