def travel_to_lot(sim_info: SimInfo, lot_id: int):
        """travel_to_lot(sim_info, lot_id)

        Travel with the specified Sim to the Lot with the specified identifier.

        :param sim_info: The Sim to travel with.
        :type sim_info: SimInfo
        :param lot_id: The identifier of the lot to travel to.
        :type lot_id: int
        """
        sim_info.send_travel_switch_to_zone_op(zone_id=lot_id)
    def travel_to_zone(sim_info: SimInfo, zone_id: int):
        """travel_to_zone(sim_info, zone_id)

        Travel with the specified Sim to a Zone.

        :param sim_info: The Sim to travel with.
        :type sim_info: SimInfo
        :param zone_id: The identifier of the zone to travel to.
        :type zone_id: int
        """
        sim_info.send_travel_switch_to_zone_op(zone_id=zone_id)
示例#3
0
 def travel_to_lot(sim_info: SimInfo, lot_id: int):
     """
         Send the specified Sim to the Lot with the specified id.
     """
     sim_info.send_travel_switch_to_zone_op(zone_id=lot_id)