Make INotifyAppliedDamage require explicit implementation

This commit is contained in:
reaperrr
2018-04-29 04:46:42 +02:00
committed by Paul Chote
parent 3a82b13093
commit 83f100618b
2 changed files with 2 additions and 1 deletions

View File

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