diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-11-03 13:08:21 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-11-03 13:08:21 +0100 |
commit | 3ef3047681f0813d8f1d06939eaa2ef378d99505 (patch) | |
tree | f3c8540a1fc47b574c74e8997f8728ac20422178 /include/usermanager.h | |
parent | 2c51a2bf17b6c377f0207f3d89b4b3f399fc0178 (diff) |
Add UserManager::NextAlreadySentId() and convert all code to use it
Diffstat (limited to 'include/usermanager.h')
-rw-r--r-- | include/usermanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/usermanager.h b/include/usermanager.h index eee076802..605b841bb 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -186,4 +186,9 @@ class CoreExport UserManager : public fakederef<UserManager> * @param ... The format arguments */ void ServerNoticeAll(const char* text, ...) CUSTOM_PRINTF(2, 3); + + /** Retrieves the next already sent id, guaranteed to be not equal to any user's already_sent field + * @return Next already_sent id + */ + already_sent_t NextAlreadySentId(); }; |