Beispiel #1
0
            public override void OnResponse(NetState state, RelayInfo info)
            {
                Mobile from = state.Mobile;

                if (info.ButtonID == 1)
                {
                    m_Broker.AddMobileConfirmed(from);
                }
            }
            public override void OnResponse(NetState state, RelayInfo info)
            {
                Mobile from = state.Mobile;

                if (info.ButtonID == 1)
                {
                    if (DateTime.Now > m_GumpTime.AddSeconds(10.0))
                    {
                        from.SendMessage("You have taken too long to respond, please revisit the fight broker to register.");
                    }
                    else
                    {
                        m_Broker.AddMobileConfirmed(from);
                    }
                }
            }