Require explicit INotifyCreated

This commit is contained in:
reaperrr
2017-09-27 22:17:40 +02:00
committed by abcdefg30
parent 6f790938d0
commit 5026dfe5d3
8 changed files with 10 additions and 7 deletions

View File

@@ -129,7 +129,10 @@ namespace OpenRA.Traits
public interface IResolveOrder { void ResolveOrder(Actor self, Order order); }
public interface IValidateOrder { bool OrderValidation(OrderManager orderManager, World world, int clientId, Order order); }
public interface IOrderVoice { string VoicePhraseForOrder(Actor self, Order order); }
[RequireExplicitImplementation]
public interface INotifyCreated { void Created(Actor self); }
public interface INotifyAddedToWorld { void AddedToWorld(Actor self); }
public interface INotifyRemovedFromWorld { void RemovedFromWorld(Actor self); }
public interface INotifyActorDisposing { void Disposing(Actor self); }