public async Task <UseItemEggIncubatorResponse> UseItemEggIncubator(string itemId, ulong pokemonId) { var message = new UseItemEggIncubatorMessage() { ItemId = itemId, PokemonId = pokemonId }; return(await PostProtoPayload <Request, UseItemEggIncubatorResponse>(RequestType.UseItemEggIncubator, message)); }
public async Task<UseItemEggIncubatorResponse> UseItemEggIncubator(string itemId, ulong pokemonId) { var message = new UseItemEggIncubatorMessage() { ItemId = itemId, PokemonId = pokemonId }; return await PostProtoPayload<Request, UseItemEggIncubatorResponse>(RequestType.UseItemEggIncubator, message); }
public UseItemEggIncubatorResponse UseItemEggIncubator(string itemId, ulong pokemonId) { var message = new UseItemEggIncubatorMessage() { ItemId = itemId, PokemonId = pokemonId }; return(PostProtoPayloadCommonR <Request, UseItemEggIncubatorResponse>(RequestType.UseItemEggIncubator, message).Result); }
/// <summary> /// /// </summary> /// <param name="itemId"></param> /// <param name="pokemonId"></param> /// <returns></returns> public bool QueueUseItemEggIncubatorRequest(string itemId, ulong pokemonId) { var message = new UseItemEggIncubatorMessage { ItemId = itemId, PokemonId = pokemonId }; return(Client.QueueRequest(RequestType.UseItemEggIncubator, message)); }