SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SceneEvent.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
9 #include "CRUD_Events.h"
10 #include "MapLink.h"
11 
12 #include <QtCore/QString>
13 #include <vector>
14 #include <string>
15 #include <stdint.h>
16 
17 class BitStream;
18 class MapRef;
19 typedef CRUDLink_Event MapLinkEvent; //<MapLink>
20 
21 class SceneEvent : public MapLinkEvent
22 {
23 public:
24  SceneEvent();
25 
27  void serializeto(BitStream &tgt) const;
28 
29  QString m_map_desc;
30  uint32_t ref_count;
31  int ref_crc;
32  int var_4;
36  int undos_PP;
37  bool var_14;
38  std::vector<QString> m_trays;
39  std::vector<uint32_t> m_crc;
40  std::vector<MapRef> m_refs;
41  int unkn1;
43  bool unkn2;
44 protected:
45  void getGrpElem(BitStream &src,int idx);
46  void reqWorldUpdateIfPak(BitStream &src);
47  void groupnetrecv_5(BitStream &src,int a,int b);
48 };
int ref_crc
Definition: SceneEvent.h:31
void getGrpElem(BitStream &src, int idx)
Definition: SceneEvent.cpp:20
int unkn1
Definition: SceneEvent.h:41
bool current_map_flags
Definition: SceneEvent.h:34
bool var_14
Definition: SceneEvent.h:37
void groupnetrecv_5(BitStream &src, int a, int b)
Definition: SceneEvent.cpp:46
Definition: BitStream.h:30
bool unkn2
Definition: SceneEvent.h:43
std::vector< QString > m_trays
Definition: SceneEvent.h:38
Definition: MapRef.h:14
void serializeto(BitStream &tgt) const
Definition: SceneEvent.cpp:98
size_t num_base_elems
Definition: SceneEvent.h:35
bool m_outdoor_mission_map
Definition: SceneEvent.h:33
int undos_PP
Definition: SceneEvent.h:36
CRUDLink_Event MapLinkEvent
Definition: EntitiesResponse.h:16
std::vector< MapRef > m_refs
Definition: SceneEvent.h:40
void serializefrom(BitStream &src)
Definition: SceneEvent.cpp:55
std::vector< uint32_t > m_crc
Definition: SceneEvent.h:39
uint32_t ref_count
Definition: SceneEvent.h:30
void reqWorldUpdateIfPak(BitStream &src)
Definition: SceneEvent.cpp:40
int var_4
Definition: SceneEvent.h:32
int m_map_number
Definition: SceneEvent.h:42
QString m_map_desc
Definition: SceneEvent.h:29
SceneEvent()
Definition: SceneEvent.cpp:16
EventProcessor * src() const
Definition: SEGSEvent.h:62
Definition: SceneEvent.h:21