Exemplo n.º 1
0
        public async Task <SetBuddyPokemonResponse> SetBuddyPokemon(ulong pokemonId)
        {
            var message = new SetBuddyPokemonMessage()
            {
                PokemonId = pokemonId
            };

            return(await PostProtoPayload <Request, SetBuddyPokemonResponse>(RequestType.SetBuddyPokemon, message).ConfigureAwait(false));
        }
Exemplo n.º 2
0
        public SetBuddyPokemonResponse SetBuddyPokemon(ulong pokemonId)
        {
            var message = new SetBuddyPokemonMessage()
            {
                PokemonId = pokemonId
            };

            return(PostProtoPayload <Request, SetBuddyPokemonResponse>(RequestType.SetBuddyPokemon, message));
        }