Exemplo n.º 1
0
 internal async Task OnLoadInternal(IConfigurationService configurationService)
 {
     DefinitionLoadingSettings = configurationService.Settings.DefinitionLoadingSettings;
     ManifestVersionSettings   = configurationService.Settings.ManifestVersionSettings;
     try
     {
         if (DefinitionLoadingSettings.DownloadLatestManifestOnLoad)
         {
             UsedManifest = (await Destiny2MethodsAccess.GetDestinyManifest()).Response;
         }
     }
     catch (Exception e)
     {
         Logger.Log(e.Message, LogType.Error);
     }
 }
Exemplo n.º 2
0
 public async ValueTask <BungieResponse <DestinyManifest> > GetDestinyManifest(
     CancellationToken token = default)
 {
     return(await _apiAccess.GetDestinyManifest(token));
 }