mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Provide tracker peers count via TrackerEntry
Don't expose additional accessor in Torrent interface.
This commit is contained in:
parent
62a6c725d6
commit
75e0990eb3
6 changed files with 22 additions and 29 deletions
|
@ -49,6 +49,7 @@ namespace BitTorrent
|
|||
int protocolVersion = 1;
|
||||
|
||||
Status status = NotContacted;
|
||||
int numPeers = -1;
|
||||
int numSeeds = -1;
|
||||
int numLeeches = -1;
|
||||
int numDownloaded = -1;
|
||||
|
@ -62,6 +63,7 @@ namespace BitTorrent
|
|||
|
||||
// Deprecated fields
|
||||
Status status = NotContacted;
|
||||
int numPeers = -1;
|
||||
int numSeeds = -1;
|
||||
int numLeeches = -1;
|
||||
int numDownloaded = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue