public override void OnResponse(NetState state, int index) { if (index >= 0 && index < m_List.Count) { m_Trainer.EndClaimList(m_From, m_List[index]); } }
public override void OnResponse(NetState sender, RelayInfo info) { int index = info.ButtonID - 1; if (index >= 0 && index < m_List.Count) { m_Trainer.EndClaimList(m_From, m_List[index] as BaseCreature); } }