public SteamSocket(SteamOptions options, bool isServer) { Debug.Log("Starting up FizzySteam Socket..."); if (options.useSteamRelay) { SteamNetworkingUtils.InitRelayNetworkAccess(); } _steamOptions = options; _isServer = isServer; _steamSocketManager = new SteamSocketManager(options, isServer); }
public SteamApiService(IHttpClientFactory httpClientFactory, IOptions <SteamOptions> steamOptions) { this.httpClient = httpClientFactory.CreateClient(nameof(SteamApiService)); this.steamOptions = steamOptions.Value; }