コード例 #1
0
        public virtual void PlayTimer_Callback(Mobile from)
        {
            m_PlayTimer = null;

            HornOfRetreatMoongate gate = new HornOfRetreatMoongate(this.DestLoc, this.DestMap, from, this.Hue);

            gate.MoveToWorld(from.Location, from.Map);

            from.PlaySound(0x20E);

            gate.SendLocalizedMessageTo(from, 1049102, from.Name);               // Quickly ~1_NAME~! Onward through the gate!
        }
コード例 #2
0
ファイル: HornOfRetreat.cs プロジェクト: Crome696/ServUO
        public virtual void PlayTimer_Callback(object state)
        {
            Mobile from = (Mobile)state;

            this.m_PlayTimer = null;

            HornOfRetreatMoongate gate = new HornOfRetreatMoongate(this.DestLoc, this.DestMap, from, this.Hue);

            gate.MoveToWorld(from.Location, from.Map);

            from.PlaySound(0x20E);

            gate.SendLocalizedMessageTo(from, 1049102, from.Name); // Quickly ~1_NAME~! Onward through the gate!
        }