Exemplo n.º 1
0
        public override void OnSpeech(SpeechEventArgs e)
        {
            if (e.Mobile != Owner || !IsInside(e.Mobile))
            {
                return;
            }

            if (e.Speech.ToLower() == "check house rent")
            {
                ForSaleSign.CheckRentTimer();
            }
        }
Exemplo n.º 2
0
        public override void OnSpeech(SpeechEventArgs e)
        {
            if (e.Mobile != Owner || !IsInside(e.Mobile))
            {
                return;
            }

            if (e.Speech.ToLower() == "check house rent")
            {
                ForSaleSign.CheckRentTimer();
            }

            Timer.DelayCall(TimeSpan.Zero, new TimerStateCallback(AfterSpeech), e.Mobile);
        }