diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-03 20:41:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-03 20:41:57 +0300 |
commit | 329771bb20094d2c4587310f1c3c2b7342d837e6 (patch) | |
tree | a9bcf6cf296a9a7ca3fac16730d3cc76fb938a20 /src/actormanager.h | |
parent | 601a1969d813672d7cc65edc3bd873067c551e4d (diff) | |
download | mv-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.gz mv-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.bz2 mv-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.xz mv-329771bb20094d2c4587310f1c3c2b7342d837e6.zip |
Update last seen also from online list.
It lack account id, but can update time.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index 6e9020d20..2738181f7 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -359,6 +359,8 @@ class ActorManager final: public ConfigListener void updateNameId(const std::string &name, const BeingId beingId); + void updateSeenPlayers(const std::set<std::string> &onlinePlayers); + size_t size() const { return mActors.size(); } |