Exemplo n.º 1
0
        public async Task <ServiceResponse> HatchResolveGymWithIdAsync(Type textResource, int gymId, IPokemon pokemon, IRaidboss raidboss, int interactiveLimit)
        {
            var gym = await GymService.GetGymByIdAsync(gymId);

            return(await HatchSaveAsync(textResource, gym, pokemon, raidboss, interactiveLimit));
        }
Exemplo n.º 2
0
        public async Task <ServiceResponse> AddResolveGymAsync(Type textResource, ZonedDateTime requestStartInUtc, DateTimeZone userZone, int gymId, byte level, IPokemon pokemon, IRaidboss raidboss, TimeSpan timeSpan, int interactiveLimit, FenceConfiguration[] fences)
        {
            var gym = await GymService.GetGymByIdAsync(gymId);

            return(await AddSaveAsync(textResource, requestStartInUtc, userZone, gym, level, pokemon, raidboss, timeSpan));
        }