Exemple #1
0
        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);
        }
Exemple #2
0
 public static bool Prefix(PawnColumnWorker_Guest __instance, ref Texture2D __result, Pawn pawn)
 {
     __result = pawn?.guest?.GetIcon();
     return(false);
 }