C# Class AllowTool.Designator_MassSelect

Inheritance: Designator_SelectableThings
Show file Open project: UnlimitedHugs/RimworldAllowTool

Public Methods

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

Protected Methods

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

Private Methods

Method Description
DrawMouseAttachedLabel ( string text ) : void
GetConstraintHashForThing ( Thing thing ) : int
SelectAllOfDef ( ThingDef targetDef ) : int
ThingMatchesSelectionConstraints ( Thing thing ) : bool
TryCloseArchitectMenu ( ) : void
TryGetItemOrPawnUnderCursor ( ) : Thing
UpdateSelectionConstraints ( ) : void

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_MassSelect() public method

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

ProcessCell() protected method

protected 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

ThingIsRelevant() protected method

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