mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 14:38:20 +00:00
Launcher support added. Still missing UCS but thinking about maybe rewriting it completely
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
#define LAUNCHERLIST_H_
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../net/servertalk_server_connection.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
class LauncherLink;
|
||||
class EmuTCPConnection;
|
||||
class EQLConfig;
|
||||
|
||||
class LauncherList {
|
||||
@@ -39,7 +40,8 @@ public:
|
||||
void CreateLauncher(const char *name, uint8 dynamic_count);
|
||||
void Remove(const char *name);
|
||||
|
||||
void Add(EmuTCPConnection *conn);
|
||||
void Add(std::shared_ptr<EQ::Net::ServertalkServerConnection> conn);
|
||||
void Remove(std::shared_ptr<EQ::Net::ServertalkServerConnection> conn);
|
||||
LauncherLink *Get(const char *name);
|
||||
LauncherLink *FindByZone(const char *short_name);
|
||||
|
||||
@@ -49,7 +51,6 @@ public:
|
||||
protected:
|
||||
std::map<std::string, EQLConfig *> m_configs; //we own these objects
|
||||
std::map<std::string, LauncherLink *> m_launchers; //we own these objects
|
||||
// std::map<std::string, EQLConfig *> m_configs; //we own these objects
|
||||
std::vector<LauncherLink *> m_pendingLaunchers; //we own these objects, have not yet identified themself
|
||||
int nextID;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user