1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

handle server list ping

This commit is contained in:
p2r3
2025-08-27 14:50:17 +03:00
parent 71737380d5
commit b46f5927a2
5 changed files with 56 additions and 5 deletions

View File

@@ -62,6 +62,9 @@ extern uint32_t rng_seed;
extern uint16_t world_time;
extern char motd[];
extern uint8_t motd_len;
extern uint16_t client_count;
#pragma pack(push, 1)

View File

@@ -23,6 +23,7 @@ int cs_playerInput (int client_fd);
int cs_playerCommand (int client_fd);
// Clientbound packets
int sc_statusResponse (int client_fd);
int sc_loginSuccess (int client_fd, uint8_t *uuid, char *name);
int sc_knownPacks (int client_fd);
int sc_finishConfiguration (int client_fd);