C# Class FluffyManager.ManagerJob_Production

Inheritance: ManagerJob
Mostrar archivo Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
Bill Bill_Production
BillGivers BillGiverTracker
History History
MainProduct MainProductTracker
OtherRecipeDefs List
Trigger Trigger_Threshold
debug StringBuilder
prioritizeManual bool
restrictToMaxSkill bool

Public Methods

Method Description
CleanUp ( ) : void

Delete all outstanding managed bills for this job.

DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
DrawOverviewDetails ( Rect rect ) : void
ExposeData ( ) : void
ForceRecacheOtherRecipe ( ) : void
GlobalWork ( ) : void

Sorting of bills

ManagerJob_Production ( ) : System.Text
ManagerJob_Production ( Manager manager, RecipeDef recipe ) : System.Text
OtherRecipeAvailable ( ) : bool
SetNewRecipe ( RecipeDef newRecipe ) : void
Tick ( ) : void
ToString ( ) : string
TryDoJob ( ) : bool

Try to assign / clean up assignments

Private Methods

Method Description
CleanBillgivers ( bool &actionTaken ) : void

Delete outstanding managed jobs on billgivers that no longer meet criteria

Update ( Bill_Production thatBill, bool &actionTaken ) : void

update bill settings

Method Details

CleanUp() public method

Delete all outstanding managed bills for this job.
public CleanUp ( ) : void
return void

DrawListEntry() public method

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

DrawOverviewDetails() public method

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

ExposeData() public method

public ExposeData ( ) : void
return void

ForceRecacheOtherRecipe() public method

public ForceRecacheOtherRecipe ( ) : void
return void

GlobalWork() public method

Sorting of bills
public GlobalWork ( ) : void
return void

ManagerJob_Production() public method

public ManagerJob_Production ( ) : System.Text
return System.Text

ManagerJob_Production() public method

public ManagerJob_Production ( Manager manager, RecipeDef recipe ) : System.Text
manager Manager
recipe RecipeDef
return System.Text

OtherRecipeAvailable() public method

public OtherRecipeAvailable ( ) : bool
return bool

SetNewRecipe() public method

public SetNewRecipe ( RecipeDef newRecipe ) : void
newRecipe RecipeDef
return void

Tick() public method

public Tick ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

TryDoJob() public method

Try to assign / clean up assignments
public TryDoJob ( ) : bool
return bool

Property Details

Bill public_oe property

public Bill_Production Bill
return Bill_Production

BillGivers public_oe property

public BillGiverTracker BillGivers
return BillGiverTracker

History public_oe property

public History History
return History

MainProduct public_oe property

public MainProductTracker MainProduct
return MainProductTracker

OtherRecipeDefs public_oe property

public List OtherRecipeDefs
return List

Trigger public_oe property

public Trigger_Threshold Trigger
return Trigger_Threshold

debug public_oe static_oe property

public static StringBuilder debug
return StringBuilder

prioritizeManual public_oe static_oe property

public static bool prioritizeManual
return bool

restrictToMaxSkill public_oe property

public bool restrictToMaxSkill
return bool