public override void OnResponse(NetState state, RelayInfo info) { if (info.ButtonID >= 1 && info.ButtonID <= 4) { TrackWhoGump.DisplayTo(m_Success, m_From, info.ButtonID - 1); } }
public override void OnResponse(NetState state, RelayInfo info) { if (info.ButtonID >= 1 && info.ButtonID <= 4) { if (m_From != null) { if (m_From.QuestArrow != null) { m_From.QuestArrow.Stop(); } Tracking.ClearTrackingInfo(m_From); } bool success = m_From.CheckSkill(SkillName.Tracking, 0.0, 100, 1.0); if (!success) { m_From.SendMessage("You search for tracks but are uncertain of your findings."); return; } TrackWhoGump.DisplayTo(m_From, info.ButtonID - 1); } }
public override void OnResponse(NetState state, RelayInfo info) { if (info.ButtonID >= 1 && info.ButtonID <= 4) { var type = info.ButtonID - 1; var check = m_Delegates[type]; TrackWhoGump.DisplayTo(m_From, m_Range, m_MobileList.Where(m => check(m)).ToList()); } }
public override void OnResponse(NetState state, RelayInfo info) { if (info.ButtonID >= 1 && info.ButtonID <= 4) { TrackWhoGump.DisplayTo(m_Success, m_From, info.ButtonID - 1); } else { if (m_From is PlayerMobile) { ((PlayerMobile)m_From).EndPlayerAction(); } } }
public override void OnResponse(NetState state, int index) { TrackWhoGump.DisplayTo(m_Success, m_From, index); }