C# Class PrisonersAndSlaves.MainTabWindow_Slaves

Inheritance: MainTabWindow_PawnList
ファイルを表示 Open project: ForsakenShell/Es-Small-Mods

Public Methods

Method Description
DoWindowContents ( Rect inRect ) : void
MainTabWindow_Slaves ( ) : System
PreOpen ( ) : void

Protected Methods

Method Description
BuildPawnList ( ) : void
DrawPawnRow ( Rect r, Pawn p ) : void

Private Methods

Method Description
ColorOfPriority ( int prio ) : Color
CopyFrom_Restrictions ( Pawn p ) : void
DoTimeAssignment ( Rect rect, Pawn p, int hour ) : void
DoWindowContents_Restrictions ( Rect inRect ) : void
DoWindowContents_WorkAssignments ( Rect rect ) : void
DrawPawnRow_Restrictions ( Rect r, Pawn p ) : void
DrawPawnRow_WorkAssignments ( Rect rect, Pawn p ) : void
DrawTimeAssignmentSelectorFor ( Rect rect, TimeAssignmentDef ta ) : void
DrawTimeAssignmentSelectorGrid ( Rect rect ) : void
DrawWorkBoxBackground ( Rect rect, Pawn p, WorkTypeDef workDef ) : void
DrawWorkBoxFor ( Vector2 topLeft, Pawn p, WorkTypeDef wType, bool incapableBecauseOfCapacities ) : void
IsIncapableOfWholeWorkType ( Pawn p, WorkTypeDef work ) : bool
PasteTo_Restrictions ( Pawn p ) : void
Reinit ( ) : void
SpecificWorkListString ( WorkTypeDef def ) : string

Method Details

BuildPawnList() protected method

protected BuildPawnList ( ) : void
return void

DoWindowContents() public method

public DoWindowContents ( Rect inRect ) : void
inRect UnityEngine.Rect
return void

DrawPawnRow() protected method

protected DrawPawnRow ( Rect r, Pawn p ) : void
r UnityEngine.Rect
p Pawn
return void

MainTabWindow_Slaves() public method

public MainTabWindow_Slaves ( ) : System
return System

PreOpen() public method

public PreOpen ( ) : void
return void