Move Cargo interfaces to TraitsInterfaces
This commit is contained in:
@@ -422,12 +422,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[RequireExplicitImplementation]
|
|
||||||
public interface INotifyPassengerEntered { void OnPassengerEntered(Actor self, Actor passenger); }
|
|
||||||
|
|
||||||
[RequireExplicitImplementation]
|
|
||||||
public interface INotifyPassengerExited { void OnPassengerExited(Actor self, Actor passenger); }
|
|
||||||
|
|
||||||
public class RuntimeCargoInit : IActorInit<Actor[]>, ISuppressInitExport
|
public class RuntimeCargoInit : IActorInit<Actor[]>, ISuppressInitExport
|
||||||
{
|
{
|
||||||
[FieldFromYamlKey]
|
[FieldFromYamlKey]
|
||||||
|
|||||||
@@ -60,6 +60,12 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[RequireExplicitImplementation]
|
[RequireExplicitImplementation]
|
||||||
public interface INotifyBlockingMove { void OnNotifyBlockingMove(Actor self, Actor blocking); }
|
public interface INotifyBlockingMove { void OnNotifyBlockingMove(Actor self, Actor blocking); }
|
||||||
|
|
||||||
|
[RequireExplicitImplementation]
|
||||||
|
public interface INotifyPassengerEntered { void OnPassengerEntered(Actor self, Actor passenger); }
|
||||||
|
|
||||||
|
[RequireExplicitImplementation]
|
||||||
|
public interface INotifyPassengerExited { void OnPassengerExited(Actor self, Actor passenger); }
|
||||||
|
|
||||||
public interface IUpgradable
|
public interface IUpgradable
|
||||||
{
|
{
|
||||||
IEnumerable<string> UpgradeTypes { get; }
|
IEnumerable<string> UpgradeTypes { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user