eco2d/code/common/packets/pkt_01_welcome.h

23 lines
600 B
C

#pragma once
#include "system.h"
#include "packet_utils.h"
typedef struct {
uint64_t ent_id;
uint16_t block_size;
uint16_t chunk_size;
uint16_t world_size;
} pkt_01_welcome;
size_t pkt_01_welcome_send(uint64_t peer_id,
uint16_t view_id,
uint64_t ent_id,
uint16_t block_size,
uint16_t chunk_size,
uint16_t world_size);
size_t pkt_01_welcome_encode(pkt_01_welcome *table);
pkt_desc pkt_01_welcome_desc[];
PKT_HANDLER_PROC(pkt_01_welcome_handler);