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

Inheritance: IPips, INotifyOwnerChanged, INotifyCapture, INotifyKilled, IExplodeModifier, IStoreResources, ISync
Exibir arquivo Open project: pchote/OpenRA

Private Properties

Property Type Description

Public Methods

Method Description
Disposing ( Actor self ) : void
GetPips ( Actor self ) : IEnumerable
OnCapture ( Actor self, Actor captor, Player oldOwner, Player newOwner ) : void
OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
ShouldExplode ( Actor self ) : bool
StoresResources ( Actor self, StoresResourcesInfo info ) : System.Collections.Generic

Method Details

Disposing() public method

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

GetPips() public method

public GetPips ( Actor self ) : IEnumerable
self Actor
return IEnumerable

OnCapture() public method

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

OnOwnerChanged() public method

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

ShouldExplode() public method

public ShouldExplode ( Actor self ) : bool
self Actor
return bool

StoresResources() public method

public StoresResources ( Actor self, StoresResourcesInfo info ) : System.Collections.Generic
self Actor
info StoresResourcesInfo
return System.Collections.Generic