Add IActorPreviewInitInfo interface.
This commit is contained in:
committed by
RoosterDragon
parent
e10b64d62c
commit
b2c3a55c12
@@ -290,4 +290,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
Order IssueDeployOrder(Actor self);
|
||||
}
|
||||
|
||||
public enum ActorPreviewType { PlaceBuilding, ColorPicker, MapEditorSidebar }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface IActorPreviewInitInfo : ITraitInfo
|
||||
{
|
||||
IEnumerable<object> ActorPreviewInits(ActorInfo ai, ActorPreviewType type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user