sources/network/rconsession.h

changeset 191
2e6cbacafdc7
parent 190
90bf9049e5eb
child 195
be953e1621d9
child 200
3fb775db4829
--- a/sources/network/rconsession.h	Wed Jan 27 19:28:18 2021 +0200
+++ b/sources/network/rconsession.h	Wed Jan 27 19:32:55 2021 +0200
@@ -103,11 +103,11 @@
 	const std::string&               getLevel() const;
 	net::UDPSocket*                  getSocket();
 	RCONSessionState            getState() const;
-	void                        handlePacket(ByteArray& message);
+	void                        handlePacket(std::vector<unsigned char>& message);
 	bool                        isActive() const;
 	void                        processServerUpdates(Bytestream& packet);
 	void                        requestTabCompletion(const std::string& part);
-	bool send(const ByteArray& packet);
+	bool send(const std::vector<unsigned char>& packet);
 	bool                        sendCommand(const std::string& commandString);
 	void                        sendHello();
 	void                        sendPassword();

mercurial