![]() |
libspades
Ace of Spades library
|
Ends the authentication transaction and tells the client its permission level. More...
#include <protocol.h>
Data Fields | |
| uint8_t | packetID |
| 65 | |
| uint8_t | subPacketID |
1 (Client<--Server) | |
| uint8_t | success |
| Equal to 1 if the client was successfully authenticated. | |
| char | permissionLevel [VARIABLE_LENGTH] |
| NULL-terminated string encoded with UTF-8 that contains the permission level granted. | |
Ends the authentication transaction and tells the client its permission level.
| char PacketEndAuthentication::permissionLevel[VARIABLE_LENGTH] |
NULL-terminated string encoded with UTF-8 that contains the permission level granted.
For example, "Player", "Trusted", "Admin"
| uint8_t PacketEndAuthentication::success |
Equal to 1 if the client was successfully authenticated.
Equal to 0 otherwise.