internal OAuthWrapper(HSReplayNetConfig config, Data.Account account, ApiWrapper api) { _config = config; _account = account; _api = api; _uploadTokenHistory = new UploadTokenHistory(config.DataDirectory); Load(); }
internal HSReplayNet(HSReplayNetConfig config) { Config = config; Events = new HSReplayNetEvents(); Account = Account.Serializer.Load(config.DataDirectory); Api = new ApiWrapper(config, Account); OAuth = new OAuthWrapper(config, Account, Api); LogUploader = new LogUploader(Api); PackUploader = new PackUploader(Api); Twitch = new TwitchDataManager(OAuth, config); }
internal PackUploader(ApiWrapper api) { _api = api; }
internal LogUploader(ApiWrapper api) { _api = api; }