public static bool Prefix(PawnColumnWorker_Guest __instance, ref string __result, Pawn pawn) { string str = pawn?.guest?.GetLabel(); if (!str.NullOrEmpty()) { __result = str.CapitalizeFirst(); return(false); } __result = null; return(false); }
public static bool Prefix(PawnColumnWorker_Guest __instance, ref Texture2D __result, Pawn pawn) { __result = pawn?.guest?.GetIcon(); return(false); }