![]() |
libspades
Ace of Spades library
|
Informs the server about the details of the client. More...
#include <protocol.h>
Data Fields | |
| uint8_t | packetID |
34 (Client-->Server) | |
| char | client |
| A single byte used to identify the client. | |
| uint8_t | versionMajor |
| The major version of the client. | |
| uint8_t | versionMinor |
| The minor version of the client. | |
| uint8_t | versionRevision |
| The revision of the client. | |
| char | operatingSystemInfo [VARIABLE_LENGTH] |
| A string intended to contain the operating system the client is running on. | |
Informs the server about the details of the client.
The standard format for the /client command: "(You are|PLAYER is) connected with CLIENT 4.16.128 on OPERATING
SYSTEM", where PLAYER is the player name, CLIENT is the string associated with the client char, 4.16.256 is replaced with versionMajor.versionMinor.versionRevision and OPERATING SYSTEM is replaced with operatingSystemInfo
| char PacketVersionResponse::client |
A single byte used to identify the client.
It is unknown why this is a single byte and not a string like operatingSystemInfo. Commonly recognized values:
| char PacketVersionResponse::operatingSystemInfo[VARIABLE_LENGTH] |
A string intended to contain the operating system the client is running on.
Variable length.