Exemplo n.º 1
0
 public override void OnResponse(NetState sender, RelayInfo info)
 {
     if (info.ButtonID == 1)
     {
         m_System.EndCancelQuest(info.IsSwitched(1));
     }
 }
Exemplo n.º 2
0
        public override void OnResponse(GameClient sender, RelayInfo info)
        {
            if (info.ButtonID == 7)               // Legacy
            {
                m_System.EndCancelQuest(info.IsSwitched(1));
            }

            if (info.ButtonID == 0)               // Kingdom Reborn
            {
                m_System.EndCancelQuest(false);
            }
            else if (info.ButtonID == 1)
            {
                m_System.EndCancelQuest(true);
            }
        }