Add TransformsIntoDockClient
This commit is contained in:
committed by
Matthias Mailänder
parent
deacc7ad65
commit
8e7fa26709
@@ -222,6 +222,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public interface IDockClient
|
||||
{
|
||||
BitSet<DockType> GetDockType { get; }
|
||||
|
||||
/// <summary>When null, the client should act as if it can dock but never do.</summary>
|
||||
DockClientManager DockClientManager { get; }
|
||||
void OnDockStarted(Actor self, Actor hostActor, IDockHost host);
|
||||
bool OnDockTick(Actor self, Actor hostActor, IDockHost dock);
|
||||
@@ -283,6 +285,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
int DragLength { get; }
|
||||
}
|
||||
|
||||
public interface IDockClientManagerInfo : ITraitInfoInterface { }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyLoadCargo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user