+ LocalList local_users;
+
+ /** Last used already sent id, used when sending messages to neighbors to help determine whether the message has
+ * been sent to a particular user or not. See User::ForEachNeighbor() for more info.
+ */
+ already_sent_t already_sent_id;
+
+ public:
+ /** Constructor, initializes variables
+ */
+ UserManager();
+
+ /** Destructor, destroys all users in clientlist
+ */
+ ~UserManager();
+
+ /** Nickname string -> User* map. Contains all users, including unregistered ones.
+ */
+ user_hash clientlist;
+
+ /** UUID -> User* map. Contains all users, including unregistered ones.
+ */
+ user_hash uuidlist;