22 lines
265 B
C++
22 lines
265 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Packet {
|
|
|
|
enum class Opcode : std::uint16_t {
|
|
NOP,
|
|
SPAWNMODEL,
|
|
DESPAWNMODEL,
|
|
UPDATEMODEL,
|
|
REQUESTMODELIDLIST,
|
|
COUNT
|
|
};
|
|
|
|
struct Header {
|
|
Opcode opcode;
|
|
std::uint32_t body_length;
|
|
};
|
|
|
|
} // namespace Packet
|