libspades
Ace of Spades library
PacketEndAuthentication Struct Reference

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.
 

Detailed Description

Ends the authentication transaction and tells the client its permission level.

Field Documentation

◆ permissionLevel

char PacketEndAuthentication::permissionLevel[VARIABLE_LENGTH]

NULL-terminated string encoded with UTF-8 that contains the permission level granted.

For example, "Player", "Trusted", "Admin"

◆ success

uint8_t PacketEndAuthentication::success

Equal to 1 if the client was successfully authenticated.

Equal to 0 otherwise.


The documentation for this struct was generated from the following file: