Working on world <-> zone communication needs a ton of work really need to rewrite how world works with zones.

This commit is contained in:
KimLS
2017-01-02 22:38:47 -08:00
parent 0264c0d60a
commit 2447c38c82
28 changed files with 3080 additions and 3304 deletions
+3 -1
View File
@@ -6,6 +6,7 @@
#include "../common/timer.h"
#include "../common/linked_list.h"
#include <vector>
#include <memory>
class WorldTCPConnection;
class ServerPacket;
@@ -35,6 +36,7 @@ public:
void SendTimeSync();
void Add(ZoneServer* zoneserver);
void Remove(const std::string &uuid);
void Process();
void KillAll();
bool SendPacket(ServerPacket* pack);
@@ -60,7 +62,7 @@ public:
protected:
uint32 NextID;
LinkedList<ZoneServer*> list;
std::list<std::unique_ptr<ZoneServer>> list;
uint16 pLockedZones[MaxLockedZones];
uint32 CurGroupID;
uint16 LastAllocatedPort;