eco2d/code/game/header/packets/pkt_01_welcome.h

21 lines
534 B
C

#pragma once
#include "system.h"
#include "packet_utils.h"
typedef struct {
uint64_t ent_id;
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 chunk_size,
uint16_t world_size);
size_t pkt_01_welcome_encode(pkt_01_welcome *table);
extern pkt_desc pkt_01_welcome_desc[];
PKT_HANDLER_PROC(pkt_01_welcome_handler);