コード例 #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));
 }