SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
MapLink.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 #include "MapEventFactory.h"
11 struct MapLink final : public CRUDLink
12 {
13  MapLink(EventSrc *tgt,EventSrc *linktgt) : CRUDLink()
14  {
15  m_net_layer = linktgt;
16  m_target = tgt;
17  assert(tgt);
18  }
19  // CRUDLink interface
20 protected:
22  {
23  return m_factory;
24  }
26 
27 };
Definition: EventProcessor.h:14
Definition: MapEventFactory.h:17
static MapEventFactory m_factory
Definition: MapLink.h:25
Definition: CRUD_Events.h:121