public static void ReturnFriendlyAvoidGrid(this Pawn p, ref ByteGrid __result)
 {
     if (__result == null && p?.Map != null && PlayerAvoidanceGrids.PawnHasPlayerAvoidanceGridKnowledge(p))
     {
         __result = PlayerAvoidanceGrids.TryGetByteGridForMap(p.Map);
     }
 }