mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 19:46:35 +00:00
Many tweaks to stream memory allocation, including but not limited to streams now are shared_ptrs.
This commit is contained in:
+2
-2
@@ -84,10 +84,10 @@ struct CharacterEntry {
|
||||
class Client {
|
||||
|
||||
public:
|
||||
Client(EQStream* eqs);
|
||||
Client(std::shared_ptr<EQStream> eqs);
|
||||
~Client();
|
||||
|
||||
EQStream *ClientStream;
|
||||
std::shared_ptr<EQStream> ClientStream;
|
||||
void AddCharacter(int CharID, const char *CharacterName, int Level);
|
||||
void ClearCharacters() { Characters.clear(); }
|
||||
void SendMailBoxes();
|
||||
|
||||
Reference in New Issue
Block a user