C# Class Dwarrowdelf.Client.Stockpile

Inheritance: IAreaElement, IJobSource, IJobObserver
ファイルを表示 Open project: tomba/dwarrowdelf Class Usage Examples

Private Properties

Property Type Description
DisableItemObjectView void
EnableItemObjectView void
Environment_ObjectMoved void
Environment_ObjectRemoved void
GetMinStack int
GetStack int
IJobObserver void
IJobSource IAssignment
ItemObject_ParameterChanged void
Match bool
Stockpile System

Public Methods

Method Description
CreateStockpile ( EnvironmentObject environment, IntGrid2Z area ) : Stockpile
DestructStockpile ( Stockpile stockpile ) : void
FindEmptyLocation ( bool &ok ) : IntVector3
LocationOk ( IntVector3 p, ItemObject ob ) : bool
Register ( ) : void
SetCriteria ( ItemFilter itemFilter ) : void
Stockpile ( EnvironmentObject environment, IntGrid2Z area ) : System
ToString ( ) : string
Unregister ( ) : void

Private Methods

Method Description
DisableItemObjectView ( ) : void
EnableItemObjectView ( ) : void
Environment_ObjectMoved ( MovableObject ob, IntVector3 oldPos ) : void
Environment_ObjectRemoved ( MovableObject ob ) : void
GetMinStack ( ) : int
GetStack ( IntVector3 p ) : int
IJobObserver ( IJob job, JobStatus status ) : void
IJobSource ( ILivingObject living ) : IAssignment
ItemObject_ParameterChanged ( ItemObject ob ) : void
Match ( ItemObject item ) : bool
Stockpile ( SaveGameContext ctx ) : System

Method Details

CreateStockpile() public static method

public static CreateStockpile ( EnvironmentObject environment, IntGrid2Z area ) : Stockpile
environment EnvironmentObject
area IntGrid2Z
return Stockpile

DestructStockpile() public static method

public static DestructStockpile ( Stockpile stockpile ) : void
stockpile Stockpile
return void

FindEmptyLocation() public method

public FindEmptyLocation ( bool &ok ) : IntVector3
ok bool
return IntVector3

LocationOk() public method

public LocationOk ( IntVector3 p, ItemObject ob ) : bool
p IntVector3
ob ItemObject
return bool

Register() public method

public Register ( ) : void
return void

SetCriteria() public method

public SetCriteria ( ItemFilter itemFilter ) : void
itemFilter ItemFilter
return void

Stockpile() public method

public Stockpile ( EnvironmentObject environment, IntGrid2Z area ) : System
environment EnvironmentObject
area IntGrid2Z
return System

ToString() public method

public ToString ( ) : string
return string

Unregister() public method

public Unregister ( ) : void
return void