2021-05-04 11:04:15 +00:00
|
|
|
#pragma once
|
2021-05-05 13:14:02 +00:00
|
|
|
#include "system.h"
|
2021-05-04 14:01:47 +00:00
|
|
|
#include "packet_utils.h"
|
|
|
|
|
|
|
|
typedef struct {
|
2021-05-05 09:25:05 +00:00
|
|
|
uint64_t ent_id;
|
2021-05-04 17:39:50 +00:00
|
|
|
uint16_t block_size;
|
|
|
|
uint16_t chunk_size;
|
|
|
|
uint16_t world_size;
|
2021-05-04 14:01:47 +00:00
|
|
|
} pkt_01_welcome;
|
|
|
|
|
|
|
|
size_t pkt_01_welcome_encode(pkt_01_welcome *table);
|
2021-05-05 13:14:02 +00:00
|
|
|
pkt_desc pkt_01_welcome_desc[];
|
2021-05-04 14:01:47 +00:00
|
|
|
|
|
|
|
PKT_HANDLER_PROC(pkt_01_welcome_handler);
|
2021-05-04 11:04:15 +00:00
|
|
|
|