Receive() public method

public Receive ( ) : string
return string
Esempio n. 1
0
 void NetThread()
 {
     while (playing)
     {
         string c = recv.Receive();
         if (!string.IsNullOrWhiteSpace(c))
         {
             DevConsole.AddCommand(c);
         }
     }
 }