sources/network/rconsession.h

changeset 191
2e6cbacafdc7
parent 190
90bf9049e5eb
child 195
be953e1621d9
child 200
3fb775db4829
equal deleted inserted replaced
190:90bf9049e5eb 191:2e6cbacafdc7
101 void disconnect(); 101 void disconnect();
102 int getAdminCount() const; 102 int getAdminCount() const;
103 const std::string& getLevel() const; 103 const std::string& getLevel() const;
104 net::UDPSocket* getSocket(); 104 net::UDPSocket* getSocket();
105 RCONSessionState getState() const; 105 RCONSessionState getState() const;
106 void handlePacket(ByteArray& message); 106 void handlePacket(std::vector<unsigned char>& message);
107 bool isActive() const; 107 bool isActive() const;
108 void processServerUpdates(Bytestream& packet); 108 void processServerUpdates(Bytestream& packet);
109 void requestTabCompletion(const std::string& part); 109 void requestTabCompletion(const std::string& part);
110 bool send(const ByteArray& packet); 110 bool send(const std::vector<unsigned char>& packet);
111 bool sendCommand(const std::string& commandString); 111 bool sendCommand(const std::string& commandString);
112 void sendHello(); 112 void sendHello();
113 void sendPassword(); 113 void sendPassword();
114 void setInterface(class Interface* interface); 114 void setInterface(class Interface* interface);
115 void setPassword(const std::string& password); 115 void setPassword(const std::string& password);

mercurial