Ejemplo n.º 1
0
 public async void Joined(KgsChannel channel)
 {
     if (channel.ChannelId == _channelId)
     {
         EndThis();
         await _connection.MakeUnattendedRequestAsync("CHALLENGE_SUBMIT", _simpleProposal);
     }
 }
Ejemplo n.º 2
0
 public async Task UnobserveAsync(RemoteGameInfo remoteInfo)
 {
     var kgsInfo = remoteInfo as KgsGameInfo;
     await kgsConnection.MakeUnattendedRequestAsync("UNJOIN_REQUEST", new
     {
         ChannelId = kgsInfo.ChannelId
     });
 }