Added extensibility points to LayMines activity:
Provides two callbacks using INotifyMineLaying interface: MineLaying (just before laying a mine), MineLaid after mine actor has been created (in FrameEndTask)
This commit is contained in:
@@ -158,6 +158,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public interface INotifyOtherProduction { void UnitProducedByOther(Actor self, Actor producer, Actor produced, string productionType, TypeDictionary init); }
|
||||
public interface INotifyDelivery { void IncomingDelivery(Actor self); void Delivered(Actor self); }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyMineLaying { void MineLaying(Actor self, CPos location); void MineLaid(Actor self, Actor mine); }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyDockHost { void Docked(Actor self, Actor client); void Undocked(Actor self, Actor client); }
|
||||
[RequireExplicitImplementation]
|
||||
|
||||
Reference in New Issue
Block a user