Add client and zone subscriptions

This commit is contained in:
KimLS
2017-01-13 23:46:20 -08:00
parent 83b51b04d3
commit 28325467da
7 changed files with 110 additions and 8 deletions
+4 -1
View File
@@ -6,6 +6,7 @@
#include "../common/timer.h"
#include "../common/rulesys.h"
#include "../common/servertalk.h"
#include "../common/event/timer.h"
#include <vector>
#include <string>
@@ -66,7 +67,8 @@ public:
int GetClientCount();
void GetClients(const char *zone_name, std::vector<ClientListEntry *> &into);
protected:
private:
void OnTick(EQ::Timer *t);
inline uint32 GetNextCLEID() { return NextCLEID++; }
//this is the list of people actively connected to zone
@@ -77,6 +79,7 @@ protected:
uint32 NextCLEID;
LinkedList<ClientListEntry *> clientlist;
std::unique_ptr<EQ::Timer> m_tick;
};
#endif /*CLIENTLIST_H_*/