C# Class FluffyManager.ManagerJob_Foraging

Inheritance: ManagerJob
Show file Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
AllowedPlants bool>.Dictionary
ForagingArea Area
ForceFullyMature bool
History History
Trigger Trigger_Threshold

Public Methods

Method Description
AddRelevantGameDesignations ( ) : void
CleanDeadDesignations ( ) : void

Remove designations in our managed list that are not in the game's designation manager.

CleanUp ( ) : void

Clean up all outstanding designations

DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
DrawOverviewDetails ( Rect rect ) : void
ExposeData ( ) : void
ManagerJob_Foraging ( Manager manager ) : System
Tick ( ) : void
TryDoJob ( ) : bool

Private Methods

Method Description
AddDesignation ( Designation des ) : void
CleanAreaDesignations ( ) : void
GetValidForagingTargetsSorted ( ) : List
IsValidForagingTarget ( LocalTargetInfo t ) : bool
IsValidForagingTarget ( Plant p ) : bool
IsValidForagingTarget ( Thing t ) : bool

Method Details

AddRelevantGameDesignations() public method

public AddRelevantGameDesignations ( ) : void
return void

CleanDeadDesignations() public method

Remove designations in our managed list that are not in the game's designation manager.
public CleanDeadDesignations ( ) : void
return void

CleanUp() public method

Clean up all outstanding designations
public CleanUp ( ) : void
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

ManagerJob_Foraging() public method

public ManagerJob_Foraging ( 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

AllowedPlants public property

public Dictionary AllowedPlants
return bool>.Dictionary

ForagingArea public property

public Area ForagingArea
return Area

ForceFullyMature public property

public bool ForceFullyMature
return bool

History public property

public History,FluffyManager History
return History

Trigger public property

public Trigger_Threshold,FluffyManager Trigger
return Trigger_Threshold