Example #1
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile from = sender.Mobile as Mobile;

            switch (info.ButtonID)
            {
            case 0:
            {
                break;
            }

            case 1:
            {
                if (_Key == null || _Key.Altar == null)
                {
                    return;
                }

                _Key.Altar.SendConfirmations(from);
                _Key.Delete();

                break;
            }
            }
        }
Example #2
0
        public override void Confirm(Mobile from)
        {
            if (m_Key == null)
            {
                return;
            }

            if (m_Key.Altar == null)
            {
                return;
            }

            m_Key.Altar.SendConfirmations(from);
            m_Key.Delete();
        }