public HotItemController(bool isTradingPostDataProvider) { Self = this; String[] args = Environment.GetCommandLineArgs(); IsUnsafe = (args.Length > 1 && (args[1] == "/unsafe" || args[1] == "/unsecure")) || isTradingPostDataProvider; CurrendTrendApi = new ZicoreApi(); if (IsUnsafe) // declaring search for SessionKey as 'unsafe' { UsingBackupApi = true; CurrentApi = gw2SpidyApi; HotItemController.IsMultiLanguageSupported = true; HotItemController.IsTransactionsSupported = true; } else { CurrentApi = gw2SpidyApi; HotItemController.IsMultiLanguageSupported = false; HotItemController.IsTransactionsSupported = false; } }
public HotItemController() { Self = this; String[] args = Environment.GetCommandLineArgs(); IsOfficialDatasource = true; CurrentTrendApi = new ZicoreApi(); UsingBackupApi = true; CurrentApi = gw2SpidyApi; HotItemController.IsMultiLanguageSupported = true; HotItemController.IsTransactionsSupported = false; // Sadly currently not supported... }