private void PresenceAlertHandler(object sender, PresenceAlertArgs e) { if (e.Presence is LLAgent) { LLAgent agent = (LLAgent)e.Presence; AlertMessagePacket alert = new AlertMessagePacket(); alert.AlertData.Message = Utils.StringToBytes(e.Message); alert.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0]; m_udp.SendPacket(agent, alert, ThrottleCategory.Task, false); } }
private void PresenceAlertHandler(object sender, PresenceAlertArgs e) { if (e.Presence is LLAgent) { LLAgent agent = (LLAgent)e.Presence; AlertMessagePacket alert = new AlertMessagePacket(); alert.AlertData.Message = Utils.StringToBytes(e.Message); alert.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0]; m_udp.SendPacket(agent, alert, ThrottleCategory.Task, false); } }