feat: 중복 로그인 방지 코드 추가
This commit is contained in:
parent
1d103d7f16
commit
17013f70f5
6 changed files with 102 additions and 7 deletions
|
|
@ -11,6 +11,7 @@ public:
|
|||
static SessionManager &GetInstance();
|
||||
|
||||
void Join(std::shared_ptr<Session> session);
|
||||
bool TryJoin(std::shared_ptr<Session> session, const std::string &nickname);
|
||||
void Leave(std::shared_ptr<Session> session);
|
||||
void Broadcast(PacketHeader header, std::span<const uint8_t> body);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue