mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
Introduce player map references.
This commit is contained in:
parent
0ae2133254
commit
79558a32d9
12 changed files with 194 additions and 80 deletions
|
|
@ -72,6 +72,7 @@ template <class TO, class FROM> class Reference : public LinkedListElement
|
|||
}
|
||||
|
||||
Reference<TO,FROM>* next() { return((Reference<TO,FROM>*)LinkedListElement::next()); }
|
||||
Reference<TO,FROM>const* next() const { return((Reference<TO,FROM> const*)LinkedListElement::next()); }
|
||||
Reference<TO,FROM>* prev() { return((Reference<TO,FROM>*)LinkedListElement::prev()); }
|
||||
|
||||
inline TO* operator ->() const { return iRefTo; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue