SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlaqueVisited.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 
10 #include "MapEvents.h"
11 #include "MapLink.h"
12 
13 #include <QtCore/QString>
14 #include <glm/vec3.hpp>
15 
17 {
18 public:
19  PlaqueVisited() : MapLinkEvent(MapEventTypes::evPlaqueVisited) {}
20 
21  // SerializableEvent interface
22  void serializefrom(BitStream &src) override;
23  void serializeto(BitStream &) const override;
24 
25  QString m_name;
26  glm::vec3 m_pos;
27 };
void serializefrom(BitStream &src) override
Definition: PlaqueVisited.cpp:15
Definition: PlaqueVisited.h:16
Definition: BitStream.h:30
PlaqueVisited()
Definition: PlaqueVisited.h:19
glm::vec3 m_pos
Definition: PlaqueVisited.h:26
void serializeto(BitStream &) const override
Definition: PlaqueVisited.cpp:23
Definition: MapEventTypes.h:11
EventProcessor * src() const
Definition: SEGSEvent.h:62
QString m_name
Definition: PlaqueVisited.h:25