SteamConfiguration

Configuration object to use. This object should not be mutated after it is passed to one or more SteamClient objects.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cellID: Int

The Steam Cell ID to prioritize when connecting.

Link copied to clipboard

The connection timeout used when connecting to Steam serves.

Link copied to clipboard
val defaultPersonaStateFlags: EnumSet<EClientPersonaStateFlag>

The default persona state flags used when requesting information for a new friend, or when calling SteamFriends.RequestFriendInfo without specifying flags.

Link copied to clipboard
val httpClient: OkHttpClient

The http client

Link copied to clipboard

Whether to use the Steam Directory to discover available servers.

Link copied to clipboard

The supported protocol types to use when attempting to connect to Steam.

Link copied to clipboard

The server list provider to use.

Link copied to clipboard

The server list provider to use.

Link copied to clipboard
val universe: EUniverse

The Universe to connect to. This should always be EUniverse.Public unless you work at Valve and are using this internally. If this is you, hello there.

Link copied to clipboard

The base address of the Steam Web API to connect to. Use of "partner.steam-api.com" requires a Partner API key.

Link copied to clipboard

An API key to be used for authorized requests. Keys can be obtained from Steam Web API Documentation or the Steamworks Partner site.

Functions

Link copied to clipboard
fun getWebAPI(interface: String): WebAPI

Retrieves a handler capable of interacting with the specified interface on the Web API.