Example #1
0
 public bool CreateServer()
 {
     if (_server.Create())
     {
         OnServerCreated?.Invoke();
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public Server(OnServerCreated on_server_created)
 {
     pEnable = true;
     this.on_server_created = on_server_created;
 }