EndClaimList() public method

public EndClaimList ( Server.Mobile from, BaseCreature pet ) : void
from Server.Mobile
pet BaseCreature
return void
示例#1
0
 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);
                }
            }