C# Class kNumbers.KListObject

Inheritance: IExposable
Mostra file Open project: koisama/kNumbers Class Usage Examples

Public Properties

Property Type Description
careTextures UnityEngine.Texture2D[]
displayObject object
label string
minWidthDesired float
oType objectType

Public Methods

Method Description
Draw ( Rect rect, ThingWithComps ownerPawn ) : void
ExposeData ( ) : void
KListObject ( ) : System
KListObject ( objectType type, string defName, object dObject ) : System
MedicalCareSetter ( Rect rect, MedicalCareCategory &medCare ) : void
needDrawBarInstantMarkerAt ( Rect barRect, float pct ) : void
needDrawBarThreshold ( Rect barRect, float threshPct, float curLevel ) : void

Private Methods

Method Description
DrawGear ( Rect rect, ThingWithComps ownerPawn ) : void
DrawNeed ( Rect rect, Pawn ownerPawn ) : void
DrawSkill ( Rect rect, Pawn ownerPawn ) : void
DrawThing ( Rect rect, Thing thing, Pawn selPawn ) : void

Method Details

Draw() public method

public Draw ( Rect rect, ThingWithComps ownerPawn ) : void
rect UnityEngine.Rect
ownerPawn ThingWithComps
return void

ExposeData() public method

public ExposeData ( ) : void
return void

KListObject() public method

public KListObject ( ) : System
return System

KListObject() public method

public KListObject ( objectType type, string defName, object dObject ) : System
type objectType
defName string
dObject object
return System

MedicalCareSetter() public static method

public static MedicalCareSetter ( Rect rect, MedicalCareCategory &medCare ) : void
rect UnityEngine.Rect
medCare MedicalCareCategory
return void

needDrawBarInstantMarkerAt() public method

public needDrawBarInstantMarkerAt ( Rect barRect, float pct ) : void
barRect UnityEngine.Rect
pct float
return void

needDrawBarThreshold() public method

public needDrawBarThreshold ( Rect barRect, float threshPct, float curLevel ) : void
barRect UnityEngine.Rect
threshPct float
curLevel float
return void

Property Details

careTextures public_oe static_oe property

public static Texture2D[],UnityEngine careTextures
return UnityEngine.Texture2D[]

displayObject public_oe property

public object displayObject
return object

label public_oe property

public string label
return string

minWidthDesired public_oe property

public float minWidthDesired
return float

oType public_oe property

public objectType oType
return objectType