SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
ServerListRequest.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md)
5  * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
6  */
7 
8 #pragma once
9 #include "Auth/AuthEvents.h"
10 
11 namespace SEGSEvents
12 {
13 // [[ev_def:type]]
15 {
16 public:
18  {}
19  void serializeto(GrowingBuffer &buf) const override
20  {
21  buf.uPut((uint8_t)5);
23  buf.uPut(unk1);
24  }
25  void serializefrom(GrowingBuffer &buf) override
26  {
27  uint8_t op;
28  buf.uGet(op);
30  buf.uGet(unk1);
31  }
32 
33  // [[ev_def:field]]
35  // [[ev_def:field]]
36  uint8_t unk1=0xFF;
38 };
39 } // end of namespace SEGSEvents
void uGetBytes(uint8_t *t, uint32_t len)
Definition: Buffer.cpp:144
void uGet(T &val)
Definition: Buffer.h:77
Definition: LinkLevelEvent.h:13
uint8_t unk1
Definition: ServerListRequest.h:36
Definition: Buffer.h:17
Definition: ServerListRequest.h:14
#define EVENT_IMPL(name)
Definition: SEGSEvent.h:77
void uPut(const T &val)
Definition: Buffer.h:70
uint8_t unkArrayFromLoginResponse[8]
Definition: ServerListRequest.h:34
void serializeto(GrowingBuffer &buf) const override
Definition: ServerListRequest.h:19
void serializefrom(GrowingBuffer &buf) override
Definition: ServerListRequest.h:25
void uPutBytes(const uint8_t *t, uint32_t len)
Definition: Buffer.cpp:108
Definition: AuthEvents.h:40
Definition: AuthEvents.h:18
ServerListRequest()
Definition: ServerListRequest.h:17