C# Class FluffyManager.ManagerJob_Forestry

Inheritance: ManagerJob
Datei anzeigen Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
AllowSaplings bool
AllowedTrees bool>.Dictionary
ClearAreas bool>.Dictionary
ClearWindCells bool
Designations List
History History
LoggingArea Area
Trigger Trigger_Threshold

Public Methods

Method Description
AddRelevantGameDesignations ( ) : void
CleanDesignations ( ) : void

Remove obsolete designations from the list.

CleanUp ( ) : void
DoClearAreaDesignations ( IEnumerable cells, bool allPlants = false ) : void
DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
DrawOverviewDetails ( Rect rect ) : void
ExposeData ( ) : void
GetWoodInDesignations ( ) : int
ManagerJob_Forestry ( Manager manager ) : System
Tick ( ) : void
TryDoJob ( ) : bool

Private Methods

Method Description
AddDesignation ( Designation des ) : void
AddDesignation ( Plant p, DesignationDef def = null ) : void
CleanAreaDesignations ( ) : void
DoClearAreas ( ) : void
GetLoggableTreesSorted ( ) : List
GetWindCells ( ) : List
IsInWindTurbineArea ( IntVec3 position ) : bool
IsValidForestryTarget ( LocalTargetInfo t ) : bool
IsValidForestryTarget ( Plant p ) : bool
IsValidForestryTarget ( Thing t ) : bool
UpdateClearAreas ( ) : void

Method Details

AddRelevantGameDesignations() public method

public AddRelevantGameDesignations ( ) : void
return void

CleanDesignations() public method

Remove obsolete designations from the list.
public CleanDesignations ( ) : void
return void

CleanUp() public method

public CleanUp ( ) : void
return void

DoClearAreaDesignations() public method

public DoClearAreaDesignations ( IEnumerable cells, bool allPlants = false ) : void
cells IEnumerable
allPlants bool
return void

DrawListEntry() public method

public DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
rect UnityEngine.Rect
overview bool
active bool
return void

DrawOverviewDetails() public method

public DrawOverviewDetails ( Rect rect ) : void
rect UnityEngine.Rect
return void

ExposeData() public method

public ExposeData ( ) : void
return void

GetWoodInDesignations() public method

public GetWoodInDesignations ( ) : int
return int

ManagerJob_Forestry() public method

public ManagerJob_Forestry ( Manager manager ) : System
manager Manager
return System

Tick() public method

public Tick ( ) : void
return void

TryDoJob() public method

public TryDoJob ( ) : bool
return bool

Property Details

AllowSaplings public_oe property

public bool AllowSaplings
return bool

AllowedTrees public_oe property

public Dictionary AllowedTrees
return bool>.Dictionary

ClearAreas public_oe property

public Dictionary ClearAreas
return bool>.Dictionary

ClearWindCells public_oe static_oe property

public static bool ClearWindCells
return bool

Designations public_oe property

public List Designations
return List

History public_oe property

public History,FluffyManager History
return History

LoggingArea public_oe property

public Area LoggingArea
return Area

Trigger public_oe property

public Trigger_Threshold,FluffyManager Trigger
return Trigger_Threshold