C# Class AllowTool.Designator_SelectableThings

Inheritance: Designator
ファイルを表示 Open project: UnlimitedHugs/RimworldAllowTool Class Usage Examples

Public Methods

Method Description
CanDesignateCell ( IntVec3 c ) : AcceptanceReport
DesignateMultiCell ( IEnumerable cells ) : void
DesignateSingleCell ( IntVec3 loc ) : void
Designator_SelectableThings ( ThingDesignatorDef def ) : System.Collections.Generic
ProcessInput ( Event ev ) : void
SelectedOnGUI ( ) : void
SetVisible ( bool value ) : void

Protected Methods

Method Description
ProcessCell ( IntVec3 cell ) : int
ThingIsRelevant ( Thing item ) : bool

Method Details

CanDesignateCell() public method

public CanDesignateCell ( IntVec3 c ) : AcceptanceReport
c IntVec3
return AcceptanceReport

DesignateMultiCell() public method

public DesignateMultiCell ( IEnumerable cells ) : void
cells IEnumerable
return void

DesignateSingleCell() public method

public DesignateSingleCell ( IntVec3 loc ) : void
loc IntVec3
return void

Designator_SelectableThings() public method

public Designator_SelectableThings ( ThingDesignatorDef def ) : System.Collections.Generic
def ThingDesignatorDef
return System.Collections.Generic

ProcessCell() protected abstract method

protected abstract ProcessCell ( IntVec3 cell ) : int
cell IntVec3
return int

ProcessInput() public method

public ProcessInput ( Event ev ) : void
ev UnityEngine.Event
return void

SelectedOnGUI() public method

public SelectedOnGUI ( ) : void
return void

SetVisible() public method

public SetVisible ( bool value ) : void
value bool
return void

ThingIsRelevant() protected abstract method

protected abstract ThingIsRelevant ( Thing item ) : bool
item Thing
return bool