diff options
author | Peter Powell <petpow@saberuk.com> | 2019-09-23 12:44:42 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-09-23 13:18:21 +0100 |
commit | 65f74be719bf249f4bc93e09670ee07410ecec96 (patch) | |
tree | de7cda47955ab4876db23ff3d59081bc6b85e720 /include/modules | |
parent | cf5d382b822cecd54fdbc77e4c1c4de8a8aa3c35 (diff) |
Add the OnServerBurst hook and fix the docs for OnServerLink.
Diffstat (limited to 'include/modules')
-rw-r--r-- | include/modules/server.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/modules/server.h b/include/modules/server.h index c758df364..4e02efd19 100644 --- a/include/modules/server.h +++ b/include/modules/server.h @@ -61,11 +61,16 @@ class ServerProtocol::LinkEventListener { } - /** Fired when a server finishes burst - * @param server Server that recently linked and finished burst + /** Fired when a server has linked to the network. + * @param server Server that recently linked. */ virtual void OnServerLink(const Server* server) { } + /** Fired when a server has finished bursting. + * @param server Server that recently finished bursting. + */ + virtual void OnServerBurst(const Server* server) { } + /** Fired when a server splits * @param server Server that split * @param error Whether the server split because of an error. |