SteamGameServer

This handler is used for interacting with the Steam network as a game server.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun handleMsg(packetMsg: IPacketMsg)

Handles a client message. This should not be called directly.

Link copied to clipboard
fun logOff()

Informs the Steam servers that this client wishes to log off from the network. The Steam server will disconnect the client, and a DisconnectedCallback will be posted.

Link copied to clipboard
fun logOn(details: LogOnDetails)

Logs onto the Steam network as a persistent game server. The client should already have been connected at this point. Results are return in a LoggedOnCallback.

Link copied to clipboard

Logs the client into the Steam3 network as an anonymous game server. The client should already have been connected at this point. Results are return in a LoggedOnCallback.

Link copied to clipboard

Sends the server's status to the Steam network. Results are returned in a StatusReplyCallback callback.

Link copied to clipboard
fun setup(client: SteamClient)