SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
10 
12 {
13 public:
15  {}
16  void serializeto(GrowingBuffer &buf) const
17  {
18  buf.uPut((uint8_t)5);
20  buf.uPut(unk1);
21  }
23  {
24  uint8_t op;
25  buf.uGet(op);
27  buf.uGet(unk1);
28  }
29 
31  uint8_t unk1;
32 };
void serializeto(GrowingBuffer &buf) const
Definition: ServerListRequest.h:16
void uGet(T &val)
Definition: Buffer.h:76
void serializefrom(GrowingBuffer &buf)
Definition: ServerListRequest.h:22
ServerListRequest()
Definition: ServerListRequest.h:14
Definition: ServerListRequest.h:11
Definition: Buffer.h:17
void uPutBytes(const uint8_t *t, size_t len)
Definition: Buffer.cpp:96
void uPut(const T &val)
Definition: Buffer.h:69
uint8_t unkArrayFromLoginResponse[8]
Definition: ServerListRequest.h:30
uint8_t unk1
Definition: ServerListRequest.h:31
void uGetBytes(uint8_t *t, size_t len)
Definition: Buffer.cpp:133
Definition: AuthEvents.h:15
Definition: AuthEvents.h:37