SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
ChatDividerMoved.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 "GameCommand.h"
10 #include "MapEventTypes.h"
11 
12 namespace SEGSEvents
13 {
14 
15 // [[ev_def:type]]
17 {
18 public:
19  // [[ev_def:field]]
20  float m_position;
21 
22  ChatDividerMoved() : MapLinkEvent(MapEventTypes::evChatDividerMoved) {}
23 
24  // SerializableEvent interface
25  void serializefrom(BitStream &src) override;
26  void serializeto(BitStream &) const override;
28 };
29 
30 } // end of SEGSEvents namespace
31 
void serializeto(BitStream &) const override
Definition: ChatDividerMoved.cpp:24
Definition: BitStream.h:34
Definition: ChatDividerMoved.h:16
Definition: LinkLevelEvent.h:13
void serializefrom(BitStream &src) override
Definition: ChatDividerMoved.cpp:19
float m_position
Definition: ChatDividerMoved.h:20
MapEventTypes
Definition: MapEventTypes.h:14
ChatDividerMoved()
Definition: ChatDividerMoved.h:22
#define EVENT_IMPL(name)
Definition: SEGSEvent.h:77
EventSrc * src() const
Definition: SEGSEvent.h:65