Получение пакетов клиентом

This commit is contained in:
2025-02-09 23:52:04 +06:00
parent 871b03632e
commit cea3a0ca28
26 changed files with 927 additions and 269 deletions

View File

@@ -6,8 +6,14 @@
namespace LV {
namespace ToServer {
enum struct EnumDisconnect {
ByInterface,
CriticalError,
ProtocolError
};
namespace ToServer {
struct PacketQuat {
uint8_t Data[5];
@@ -51,6 +57,17 @@ struct PacketQuat {
*/
// Первый уровень
enum struct L1 : uint8_t {
System,
};
// Второй уровень
enum struct L2System : uint8_t {
InitEnd,
Disconnect
};
}
namespace ToClient {