Example #1
0
 public static bool IsTravelingInTransportPodWorldObject(Pawn pawn)
 {
     if (!pawn.IsWorldPawn() || !ThingOwnerUtility.AnyParentIs <ActiveDropPodInfo>(pawn))
     {
         return(ThingOwnerUtility.AnyParentIs <TravelingTransportPods>(pawn));
     }
     return(true);
 }
 public static bool IsTravelingInTransportPodWorldObject(Pawn pawn)
 {
     return(ThingOwnerUtility.AnyParentIs <TravelingTransportPods>(pawn));
 }
Example #3
0
 public static bool IsTravelingInTransportPodWorldObject(Pawn pawn)
 {
     return(pawn.IsWorldPawn() && ThingOwnerUtility.AnyParentIs <ActiveDropPodInfo>(pawn));
 }
 // RimWorld.PawnUtility
 public static void IsTravelingInTransportPodWorldObject_PostFix(Pawn pawn, ref bool __result)
 {
     __result = __result || ThingOwnerUtility.AnyParentIs <ActiveDropPodInfo>(pawn);
 }