C# Class OpenRA.Mods.Common.Traits.ProductionQueue

Inheritance: IResolveOrder, ITick, ITechTreeElement, INotifyOwnerChanged, INotifyKilled, INotifySold, ISync, INotifyTransform
Datei anzeigen Open project: OpenRA/OpenRA Class Usage Examples

Public Properties

Property Type Description
Info ProductionQueueInfo

Protected Properties

Property Type Description
developerMode OpenRA.Traits.DeveloperMode

Private Properties

Property Type Description
AllBuildables IEnumerable
CacheProducibles void
CancelProductionInner void
ClearQueue void

Public Methods

Method Description
AfterTransform ( Actor self ) : void
AllItems ( ) : IEnumerable
AllQueued ( ) : IEnumerable
BeforeTransform ( Actor self ) : void
BuildableItems ( ) : IEnumerable
CanBuild ( ActorInfo actor ) : bool
CurrentItem ( ) : ProductionItem
FinishProduction ( ) : void
GetBuildTime ( ActorInfo unit, OpenRA.Traits.BuildableInfo bi ) : int
Killed ( Actor killed, OpenRA.Traits.AttackInfo e ) : void
MostLikelyProducer ( ) : TraitPair
OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
OnTransform ( Actor self ) : void
PrerequisitesAvailable ( string key ) : void
PrerequisitesItemHidden ( string key ) : void
PrerequisitesItemVisible ( string key ) : void
PrerequisitesUnavailable ( string key ) : void
ProductionQueue ( ActorInitializer init, Actor playerActor, ProductionQueueInfo info ) : System
ResolveOrder ( Actor self, Order order ) : void
Selling ( Actor self ) : void
Sold ( Actor self ) : void
Tick ( Actor self ) : void

Protected Methods

Method Description
BeginProduction ( ProductionItem item ) : void
BuildUnit ( ActorInfo unit ) : bool
CancelProduction ( string itemName, uint numberToCancel ) : void

Private Methods

Method Description
AllBuildables ( string category ) : IEnumerable
CacheProducibles ( Actor playerActor ) : void
CancelProductionInner ( string itemName ) : void
ClearQueue ( ) : void

Method Details

AfterTransform() public method

public AfterTransform ( Actor self ) : void
self Actor
return void

AllItems() public method

public AllItems ( ) : IEnumerable
return IEnumerable

AllQueued() public method

public AllQueued ( ) : IEnumerable
return IEnumerable

BeforeTransform() public method

public BeforeTransform ( Actor self ) : void
self Actor
return void

BeginProduction() protected method

protected BeginProduction ( ProductionItem item ) : void
item ProductionItem
return void

BuildUnit() protected method

protected BuildUnit ( ActorInfo unit ) : bool
unit ActorInfo
return bool

BuildableItems() public method

public BuildableItems ( ) : IEnumerable
return IEnumerable

CanBuild() public method

public CanBuild ( ActorInfo actor ) : bool
actor ActorInfo
return bool

CancelProduction() protected method

protected CancelProduction ( string itemName, uint numberToCancel ) : void
itemName string
numberToCancel uint
return void

CurrentItem() public method

public CurrentItem ( ) : ProductionItem
return ProductionItem

FinishProduction() public method

public FinishProduction ( ) : void
return void

GetBuildTime() public method

public GetBuildTime ( ActorInfo unit, OpenRA.Traits.BuildableInfo bi ) : int
unit ActorInfo
bi OpenRA.Traits.BuildableInfo
return int

Killed() public method

public Killed ( Actor killed, OpenRA.Traits.AttackInfo e ) : void
killed Actor
e OpenRA.Traits.AttackInfo
return void

MostLikelyProducer() public method

public MostLikelyProducer ( ) : TraitPair
return TraitPair

OnOwnerChanged() public method

public OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
self Actor
oldOwner Player
newOwner Player
return void

OnTransform() public method

public OnTransform ( Actor self ) : void
self Actor
return void

PrerequisitesAvailable() public method

public PrerequisitesAvailable ( string key ) : void
key string
return void

PrerequisitesItemHidden() public method

public PrerequisitesItemHidden ( string key ) : void
key string
return void

PrerequisitesItemVisible() public method

public PrerequisitesItemVisible ( string key ) : void
key string
return void

PrerequisitesUnavailable() public method

public PrerequisitesUnavailable ( string key ) : void
key string
return void

ProductionQueue() public method

public ProductionQueue ( ActorInitializer init, Actor playerActor, ProductionQueueInfo info ) : System
init ActorInitializer
playerActor Actor
info ProductionQueueInfo
return System

ResolveOrder() public method

public ResolveOrder ( Actor self, Order order ) : void
self Actor
order Order
return void

Selling() public method

public Selling ( Actor self ) : void
self Actor
return void

Sold() public method

public Sold ( Actor self ) : void
self Actor
return void

Tick() public method

public Tick ( Actor self ) : void
self Actor
return void

Property Details

Info public_oe property

public ProductionQueueInfo Info
return ProductionQueueInfo

developerMode protected_oe property

protected DeveloperMode,OpenRA.Traits developerMode
return OpenRA.Traits.DeveloperMode