C# Class FluffyManager.ManagerJob_Hunting

Inheritance: ManagerJob
ファイルを表示 Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
AllowedAnimals bool>.Dictionary
Designations List
History History
HuntingGrounds Area
Trigger Trigger_Threshold
UnforbidCorpses bool

Public Methods

Method Description
AllowHumanLikeMeat ( bool allow ) : void
CleanDesignations ( ) : void

Remove obsolete designations from the list.

CleanUp ( ) : void
DrawListEntry ( Rect rect, bool overview = true, bool active = true ) : void
DrawOverviewDetails ( Rect rect ) : void
ExposeData ( ) : void
GetMeatInCorpses ( ) : int
GetMeatInDesignations ( ) : int
ManagerJob_Hunting ( Manager manager ) : System
Tick ( ) : void
TryDoJob ( ) : bool

Private Methods

Method Description
AddDesignation ( Designation des ) : void
AddDesignation ( Pawn p ) : void
AddRelevantGameDesignations ( ) : void
CleanAreaDesignations ( ) : void
DoUnforbidCorpses ( bool &workDone ) : void
GetHuntableAnimalsSorted ( ) : List
IsValidHuntingTarget ( LocalTargetInfo t ) : bool
IsValidHuntingTarget ( Pawn p ) : bool

Method Details

AllowHumanLikeMeat() public method

public AllowHumanLikeMeat ( bool allow ) : void
allow bool
return void

CleanDesignations() public method

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

CleanUp() public method

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

GetMeatInCorpses() public method

public GetMeatInCorpses ( ) : int
return int

GetMeatInDesignations() public method

public GetMeatInDesignations ( ) : int
return int

ManagerJob_Hunting() public method

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

AllowedAnimals public_oe property

public Dictionary AllowedAnimals
return bool>.Dictionary

Designations public_oe property

public List Designations
return List

History public_oe property

public History,FluffyManager History
return History

HuntingGrounds public_oe property

public Area HuntingGrounds
return Area

Trigger public_oe property

public Trigger_Threshold,FluffyManager Trigger
return Trigger_Threshold

UnforbidCorpses public_oe property

public bool UnforbidCorpses
return bool