Пример #1
0
 public void AddRobot(string nation, string side, System.Action <bool> callback)
 {
     Api.AddRobot(nation, side, delegate(Hashtable payload)
     {
         if (payload != null)
         {
             FetchDataHandler(payload);
         }
         if (callback != null)
         {
             callback(payload != null);
         }
     });
 }