Uncloak during resupply when "UncloakOn: Dock" is defined

This commit is contained in:
abcdefg30
2020-05-18 17:19:27 +02:00
committed by teinarss
parent dbe824d4e5
commit dd99fc93e4
3 changed files with 33 additions and 2 deletions

View File

@@ -131,6 +131,13 @@ namespace OpenRA.Mods.Common.Traits
void ResupplyTick(Actor host, Actor target, ResupplyType types);
}
[RequireExplicitImplementation]
public interface INotifyBeingResupplied
{
void StartingResupply(Actor self, Actor host);
void StoppingResupply(Actor self, Actor host);
}
[RequireExplicitImplementation]
public interface INotifyPowerLevelChanged { void PowerLevelChanged(Actor self); }
public interface INotifySupportPower { void Charged(Actor self); void Activated(Actor self); }