コード例 #1
0
    def get_current_outfit(sim_info: SimInfo) -> Tuple[OutfitCategory, int]:
        """get_current_outfit(sim_info)

        Retrieve the current OutfitCategory and Index of the current sim.

        .. note:: If a Sim has two Athletic outfits and they are wearing the second outfit, the index would be `1`.

        :param sim_info: The Sim to get the current outfit of.
        :type sim_info: SimInfo
        :return: The OutfitCategory and index of the current outfit a Sim is wearing.
        :rtype: Tuple[OutfitCategory, int]
        """
        return sim_info.get_current_outfit()
コード例 #2
0
 def get_current_outfit(sim_info: SimInfo) -> Tuple[OutfitCategory, int]:
     """
         Retrieve the current OutfitCategory and Index of the current sim.
     """
     return sim_info.get_current_outfit()