From 90c077e9282595c5fa6db830088aee59035dd5b6 Mon Sep 17 00:00:00 2001 From: KostaVlev Date: Tue, 16 Aug 2016 21:33:54 +0300 Subject: [PATCH] Changing methods type parameters to mach the destination model parameters type. --- PokemonGo.RocketAPI/Rpc/Encounter.cs | 2 +- PokemonGo.RocketAPI/Rpc/Inventory.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PokemonGo.RocketAPI/Rpc/Encounter.cs b/PokemonGo.RocketAPI/Rpc/Encounter.cs index 1159a28..539e22d 100644 --- a/PokemonGo.RocketAPI/Rpc/Encounter.cs +++ b/PokemonGo.RocketAPI/Rpc/Encounter.cs @@ -56,7 +56,7 @@ public async Task CatchPokemon(ulong encounterId, string s return await PostProtoPayload(RequestType.CatchPokemon, message); } - public async Task EncounterIncensePokemon(long encounterId, string encounterLocation) + public async Task EncounterIncensePokemon(ulong encounterId, string encounterLocation) { var message = new IncenseEncounterMessage() { diff --git a/PokemonGo.RocketAPI/Rpc/Inventory.cs b/PokemonGo.RocketAPI/Rpc/Inventory.cs index ffe964b..6ded28a 100644 --- a/PokemonGo.RocketAPI/Rpc/Inventory.cs +++ b/PokemonGo.RocketAPI/Rpc/Inventory.cs @@ -145,7 +145,7 @@ public async Task NicknamePokemon(ulong pokemonId, stri return await PostProtoPayload(RequestType.NicknamePokemon, message); } - public async Task SetFavoritePokemon(ulong pokemonId, bool isFavorite) + public async Task SetFavoritePokemon(long pokemonId, bool isFavorite) { var message = new SetFavoritePokemonMessage() {