Codechange: [Network] Use std::string for the client name in the network server

This commit is contained in:
rubidium42
2021-06-14 16:09:50 +02:00
committed by rubidium42
parent a8b3afb236
commit 981cd0197a
2 changed files with 13 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ public:
virtual Packet *ReceivePacket() override;
NetworkRecvStatus CloseConnection(NetworkRecvStatus status) override;
void GetClientName(char *client_name, const char *last) const;
std::string GetClientName() const;
void CheckNextClientToSendMap(NetworkClientSocket *ignore_cs = nullptr);