Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MapReference.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SF_MAPREFERENCE_H
7#define SF_MAPREFERENCE_H
8
9#include "Map.h"
10#include "Reference.h"
11
12class MapReference : public Reference<Map, Player>
13{
14protected:
16 {
17 // called from link()
20 }
22 {
23 // called from unlink()
25 }
27 {
28 // called from invalidate()
30 }
31public:
35 MapReference const* next() const { return (MapReference const*)Reference<Map, Player>::next(); }
38};
39#endif
void insertFirst(LinkedListElement *pElem)
Definition LinkedList.h:94
Definition Map.h:238
MapRefManager m_mapRefManager
Definition Map.h:548
void sourceObjectDestroyLink()
void targetObjectDestroyLink()
MapReference * next()
MapReference const * nocheck_prev() const
MapReference * nockeck_prev()
MapReference const * next() const
void targetObjectBuildLink()
Map * getTarget() const
Definition Reference.h:81
Reference< TO, FROM > * nocheck_prev()
Definition Reference.h:77
Reference< TO, FROM > * next()
Definition Reference.h:70