TorrentAlert
Base class for alerts associated with a specific torrent, ported from libtorrent::torrent_alert (include/libtorrent/alert_types.hpp).
In libtorrent this holds a torrent_handle; KiteTorrent v0 has no handle type yet, so it carries just the torrent's display torrentName (which is all the C++ message() renders: torrent_alert::message() returns torrent_name(), or " - " when the handle is invalid).
Inheritors
Properties
Link copied to clipboard
The bitmask of AlertCategory flags this alert belongs to. Mirrors alert::category(), which returns the concrete alert's static_category.
Link copied to clipboard
the torrent's name, or null when the handle would be invalid (rendered as " - ", matching libtorrent).