|
Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
The Mojang API holder. More...
Classes | |
| struct | HasJoinedResponse |
| Reponse for hasJoined endpoint. More... | |
Functions | |
| HasJoinedResponse | hasJoined (const std::string &username, const std::string &serverId, const std::string &ip="") |
| Checks whether the player has joined the server. | |
The Mojang API holder.
| mojangapi::HasJoinedResponse mojangapi::hasJoined | ( | const std::string & | username, |
| const std::string & | serverId, | ||
| const std::string & | ip = "" ) |
Checks whether the player has joined the server.
Only used during authentication scheme.
| username | the username of the player |
| serverId | the hash (aka the server id) |
| ip | the ip of the client if needed |