Skip to content

SteamKit 2.0.0-Alpha5

Pre-release
Pre-release
Compare
Choose a tag to compare
@Netshroud Netshroud released this 20 Jul 11:37
  • Added support for websocket client connections
  • New overloads of WebAPI.GetInterface and WebAPI.GetAsyncInterface allow you to specify a different base URL for the Steam Web APIs (i.e. https://api.steampowered.com/)
  • Updated game-related GC messages and protobufs.
  • Updated Steam enums and protobufs.

BREAKING CHANGES

  • Removed SteamClient.ConnectedCallback.EResult, as it could only ever be EResult.OK
  • The SteamClient constructor now accepts a SteamConfiguration object, which is a container for various configuration settings. If you were using the SteamClient constructor to specify a specific protocol type (TCP or UDP), use SteamConfiguration instead.
  • If you do not provide a SteamConfiguration when constructing a SteamClient, the server list will be private to that SteamClient instance. If you create multiple clients from a single configuration, the server list will be shared.
  • SteamClient.ConnectedUniverse is now SteamClient.Universe. This is now set from the configuration, and is no longer EUniverse.Invalid when not connected.
  • SteamClient.ConnectionTimeout is now read-only. Setting this property is now performed on SteamConfiguration.
  • SteamClient.Connect now optionally accepts a ServerRecord instead of optionally accepting an IPEndPoint. You can create a ServerRecord for a particular protocol type or set of protocol types.
  • IServerListProvider now deals with ServerRecords instead of IPEndPoints.
  • Disabling server list fetching from the directory is now done via SteamConfiguration instead of SmartCMServerList.
  • SteamDirectory helper methods now accept a SteamConfiguration rather than just a cellid.