SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
GameEventFactory.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
10 
11 namespace SEGSEvents
12 {
13 using GameLinkEvent = CRUDLink_Event;
14 }
15 class CharacterClient;
16 class BitStream;
17 
18 // TODO: Is GameEventFactory a misleading name, since this class is not a factory for 'all' game events ?
19 class GameEventFactory final : public CRUD_EventFactory
20 {
21 public:
22  typedef CharacterClient tClientData ;
23  SEGSEvents::GameLinkEvent *EventFromStream(BitStream &bs) override;
24 };
Definition: BitStream.h:34
Definition: GameEventFactory.h:19
Definition: LinkLevelEvent.h:13
CRUDLink_Event GameLinkEvent
Definition: GameEvents.h:23
CharacterClient tClientData
typedef used by CRUDLink to store per-connection data
Definition: GameEventFactory.h:22
Definition: CRUD_Events.h:121