public override void DoCell(Rect rect, Pawn pawn, PawnTable table) { if (!pawn.Dead && pawn.workSettings != null && pawn.workSettings.EverWork) { Text.Font = GameFont.Medium; float x = rect.x + (rect.width - 25f) / 2f; float y = rect.y + 2.5f; bool incapable = this.IsIncapableOfWholeWorkType(pawn, this.def.workType); WidgetsWork.DrawWorkBoxFor(x, y, pawn, this.def.workType, incapable); Rect rect2 = new Rect(x, y, 25f, 25f); TooltipHandler.TipRegion(rect2, () => WidgetsWork.TipForPawnWorker(pawn, this.def.workType, incapable), pawn.thingIDNumber ^ this.def.workType.GetHashCode()); Text.Font = GameFont.Small; } }
internal string <> m__0() { return(WidgetsWork.TipForPawnWorker(this.pawn, this.$this.def.workType, this.incapable)); }