diff -r 20ca0a6be175 -r 9b6a0daedfc0 sources/network/rconsession.h --- a/sources/network/rconsession.h Wed Jan 27 14:04:53 2021 +0200 +++ b/sources/network/rconsession.h Wed Jan 27 14:05:39 2021 +0200 @@ -100,19 +100,19 @@ void connect(IPAddress address); void disconnect(); int getAdminCount() const; - const String& getLevel() const; + const std::string& getLevel() const; UDPSocket* getSocket(); RCONSessionState getState() const; void handlePacket(ByteArray& message); bool isActive() const; void processServerUpdates(Bytestream& packet); - void requestTabCompletion(const String& part); + void requestTabCompletion(const std::string& part); void send(const ByteArray& packet); - bool sendCommand(const String& commandString); + bool sendCommand(const std::string& commandString); void sendHello(); void sendPassword(); void setInterface(class Interface* interface); - void setPassword(const String& password); + void setPassword(const std::string& password); void tick(); private: @@ -120,13 +120,13 @@ IPAddress m_address; UDPSocket m_socket; time_t m_lastPing; - String m_password; - String m_salt; + std::string m_password; + std::string m_salt; int m_serverProtocol; - String m_hostname; + std::string m_hostname; int m_adminCount; - String m_level; - String m_lastTabComplete; + std::string m_level; + std::string m_lastTabComplete; class Interface* m_interface; };