Esempio n. 1
0
 private async void TransferPokemon(IEnumerable <PokemonData> pokemons)
 {
     SetState(false);
     foreach (var pokemon in pokemons)
     {
         await TransferSpecificPokemonTask.Execute(_session, pokemon.Id);
     }
     await ReloadPokemonList();
 }
Esempio n. 2
0
 public async Task Handle(ISession session, WebSocketSession webSocketSession, dynamic message)
 {
     await TransferSpecificPokemonTask.Execute(session, (ulong)message.PokemonId);
 }