UserStorage

Undocumented in source.

Members

Functions

addUser
UserId addUser(ENetPeer* peer)
Undocumented in source. Be warned that the author may not have intended to support it.
findUser
User* findUser(UserId id)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
nextPeerId
UserId nextPeerId()
Undocumented in source. Be warned that the author may not have intended to support it.
removeUser
void removeUser(UserId id)
Undocumented in source. Be warned that the author may not have intended to support it.
userName
string userName(UserId id)
Undocumented in source. Be warned that the author may not have intended to support it.
userNames
string[UserId] userNames()
Undocumented in source. Be warned that the author may not have intended to support it.
userPeer
ENetPeer* userPeer(UserId id)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta