示例#1
0
 public void Send(string command, bool nonewline = false)
 {
     if (Interactive)
     {
         if (nonewline == true)
         {
             RCONServer.Send(Client, command);
         }
         else
         {
             RCONServer.Send(Client, command + (!command.Contains('\n') ? "\r\n" : ""));
         }
         return;
     }
 }
示例#2
0
 public string Read()
 {
     return(RCONServer.Read(Client, Authenticated));
 }
示例#3
0
 public string Read()
 {
     return(RCONServer.Read(Client));
 }