mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
[Code] QueryServConnection Global to Singleton Cleanup (#4938)
* [Code] QueryServConnection Global to Singleton Cleanup * Fix missed file in PR --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
@@ -15,6 +15,13 @@ public:
|
||||
void HandleGenericMessage(uint16_t opcode, EQ::Net::Packet &p);
|
||||
void HandleLFGuildUpdateMessage(uint16_t opcode, EQ::Net::Packet &p);
|
||||
bool SendPacket(ServerPacket* pack);
|
||||
|
||||
static QueryServConnection* Instance()
|
||||
{
|
||||
static QueryServConnection instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
private:
|
||||
std::map<std::string, std::shared_ptr<EQ::Net::ServertalkServerConnection>> m_streams;
|
||||
std::unique_ptr<EQ::Timer> m_keepalive;
|
||||
|
||||
Reference in New Issue
Block a user