public void SendUserAlert(string message) { AlertMessagePacket packet = new AlertMessagePacket(); packet.Type = PacketType.AlertMessage; packet.AlertData = new AlertMessagePacket.AlertDataBlock(); packet.AlertData.Message = Utils.StringToBytes(message); AlertMessagePacket.AlertInfoBlock[] temp = new AlertMessagePacket.AlertInfoBlock[0]; packet.AlertInfo = temp; proxy.InjectPacket(packet, Direction.Incoming); }