Fork me on GitHub
RefManager class in cmangos code
Post: #1
I notice both cmangos or mangos use a very special design to represent the reference of player and the map it was located, that is RefManager. Basically it is a linklist. Designed like this has any advantages?
Why not just simply write as:
class Map {
std::list<Player*> _players;

I don't know this kind of topic suitable for this forum, but I see this is developer's corner so I ask this question, hope reply.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Wow client freezes my machine while I'm debugging cMangos eeka 0 547 02-26-2017, 06:27 PM
Last Post: eeka
  How can I convert this TrinityCore code over to Mangos? Gacnt 0 685 01-28-2017, 05:24 AM
Last Post: Gacnt
  How do I receive the authenticator code on the server side Gacnt 0 704 01-25-2017, 06:01 AM
Last Post: Gacnt
Shocked Confused about Mangos and CMangos Mightylink 6 1,858 01-24-2017, 08:01 AM
Last Post: Mightylink
Information Your input for a new CMaNGOS forum! Beerfish 22 5,482 01-23-2017, 06:09 PM
Last Post: Castro
  [Classic] Debuff Limit (8/16) Settings/Code?.. hunter9 2 1,081 12-13-2016, 05:14 PM
Last Post: namreeb
  where to find monster aggro code? mikool 0 643 12-05-2016, 08:22 AM
Last Post: mikool
  [proposal] Project cmangos-bot cleanup Wingblade 2 1,132 11-22-2016, 11:31 AM
Last Post: HanFox
  [Crash] cmangos-tbc latest revision Xandrah 2 1,854 04-27-2016, 08:06 AM
Last Post: Xandrah
  time and length mix usage in MoveSpline class magiceye 1 1,505 10-05-2015, 09:38 PM
Last Post: SilverIce

Forum Jump:

Users browsing this thread: 1 Guest(s)

Continued MaNGOS | Return to Top | | Lite (Archive) Mode | RSS Syndication