public bool setupStream(string host, int port, string password, RCONColorMode colormode) { m_host = host; m_port = port; m_password = password; m_colormode = colormode; if (!ConnectSocket()) { return(false); } sendMessage(RCONMessageType.Auth, m_password); return(true); }
public OtherRCON(string host, int port, string password, RCONColorMode colormode) { m_uid = 1; m_sender = null; setupStream(host, port, password, colormode); }