C# Class FluffyManager.ManagerJob_Livestock

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

Public Properties

Property Type Description
ButcherExcess bool
ButcherTrained bool
RestrictArea List
RestrictToArea bool
TameArea Area
Training TrainingTracker
Trigger Trigger_PawnKind
TryTameMore bool

Private Properties

Property Type Description
DoAreaRestrictions void
DoButcherJobs void
DoTamingJobs void
DoTrainingJobs void
TryRemoveDesignation bool

Public Methods

Method Description
AddDesignation ( Pawn p, DesignationDef def ) : void
CanBeTrained ( PawnKindDef pawnKind, TrainableDef td, bool &visible ) : AcceptanceReport
CleanUp ( ) : void
DesignationsOfOn ( DesignationDef def, Utilities_Livestock ageSex ) : List
DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
DrawOverviewDetails ( Rect rect ) : void
DrawTrainingSelector ( Rect rect, float lrMargin = 0f ) : void
ExposeData ( ) : void
ManagerJob_Livestock ( Manager manager ) : System.Collections.Generic
ManagerJob_Livestock ( PawnKindDef pawnKindDef, Manager manager ) : System.Collections.Generic
Tick ( ) : void
TryDoJob ( ) : bool

Private Methods

Method Description
DoAreaRestrictions ( bool &actionTaken ) : void
DoButcherJobs ( bool &actionTaken ) : void
DoTamingJobs ( bool &actionTaken ) : void
DoTrainingJobs ( bool &actionTaken, bool assign = true ) : void
TryRemoveDesignation ( Utilities_Livestock ageSex, DesignationDef def ) : bool

Method Details

AddDesignation() public method

public AddDesignation ( Pawn p, DesignationDef def ) : void
p Pawn
def DesignationDef
return void

CanBeTrained() public method

public CanBeTrained ( PawnKindDef pawnKind, TrainableDef td, bool &visible ) : AcceptanceReport
pawnKind PawnKindDef
td TrainableDef
visible bool
return AcceptanceReport

CleanUp() public method

public CleanUp ( ) : void
return void

DesignationsOfOn() public method

public DesignationsOfOn ( DesignationDef def, Utilities_Livestock ageSex ) : List
def DesignationDef
ageSex Utilities_Livestock
return List

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

DrawTrainingSelector() public method

public DrawTrainingSelector ( Rect rect, float lrMargin = 0f ) : void
rect UnityEngine.Rect
lrMargin float
return void

ExposeData() public method

public ExposeData ( ) : void
return void

ManagerJob_Livestock() public method

public ManagerJob_Livestock ( Manager manager ) : System.Collections.Generic
manager Manager
return System.Collections.Generic

ManagerJob_Livestock() public method

public ManagerJob_Livestock ( PawnKindDef pawnKindDef, Manager manager ) : System.Collections.Generic
pawnKindDef PawnKindDef
manager Manager
return System.Collections.Generic

Tick() public method

public Tick ( ) : void
return void

TryDoJob() public method

public TryDoJob ( ) : bool
return bool

Property Details

ButcherExcess public_oe property

public bool ButcherExcess
return bool

ButcherTrained public_oe property

public bool ButcherTrained
return bool

RestrictArea public_oe property

public List RestrictArea
return List

RestrictToArea public_oe property

public bool RestrictToArea
return bool

TameArea public_oe property

public Area TameArea
return Area

Training public_oe property

public TrainingTracker Training
return TrainingTracker

Trigger public_oe property

public Trigger_PawnKind,FluffyManager Trigger
return Trigger_PawnKind

TryTameMore public_oe property

public bool TryTameMore
return bool