コード例 #1
0
        protected void TriggerWatchCookingReactionBroadcaster()
        {
            PetWatchableFoodInteractionHelper petWatchableCookingHelper = this.GetPetWatchableCookingHelper();

            if (petWatchableCookingHelper != null)
            {
                petWatchableCookingHelper.TriggerReactionBroadcaster(this.Actor);
            }
        }
コード例 #2
0
        public void RegisterUserDirectedThrowScrap(Sim pet)
        {
            PetWatchableFoodInteractionHelper petWatchableCookingHelper = this.GetPetWatchableCookingHelper();

            if (petWatchableCookingHelper != null)
            {
                petWatchableCookingHelper.RegisterUserDirectedThrowScrap(pet);
            }
        }
コード例 #3
0
        public void UnregisterPetWatching(Sim pet)
        {
            PetWatchableFoodInteractionHelper petWatchableCookingHelper = this.GetPetWatchableCookingHelper();

            if (petWatchableCookingHelper != null)
            {
                petWatchableCookingHelper.UnregisterPetWatching(pet);
            }
        }
コード例 #4
0
        public List <Sim> GetWatchingPets()
        {
            PetWatchableFoodInteractionHelper petWatchableCookingHelper = this.GetPetWatchableCookingHelper();

            if (petWatchableCookingHelper != null)
            {
                return(petWatchableCookingHelper.GetWatchingPets());
            }
            return(new List <Sim>());
        }