C# Class SteamKit2.SteamGameServer

This handler is used for interacting with the Steam network as a game server.
Inheritance: ClientMsgHandler
Mostra file Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
HandleMsg ( IPacketMsg packetMsg ) : void

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

LogOff ( ) : void

Logs the game server off of the Steam3 network. This method does not disconnect the client. Results are returned in a SteamUser.LoggedOffCallback.

LogOn ( LogOnDetails details ) : void

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 SteamUser.LoggedOnCallback.

LogOnAnonymous ( uint appId ) : void

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

Private Methods

Method Description
HandleAuthComplete ( IPacketMsg packetMsg ) : void
HandleStatusReply ( IPacketMsg packetMsg ) : void
SteamGameServer ( ) : System

Method Details

HandleMsg() public method

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The packet message that contains the data.
return void

LogOff() public method

Logs the game server off of the Steam3 network. This method does not disconnect the client. Results are returned in a SteamUser.LoggedOffCallback.
public LogOff ( ) : void
return void

LogOn() public method

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 SteamUser.LoggedOnCallback.
No logon details were provided. Username or password are not set within .
public LogOn ( LogOnDetails details ) : void
details LogOnDetails The details to use for logging on.
return void

LogOnAnonymous() public method

Logs the client into the Steam3 network as an anonymous game server. The client should already have been connected at this point. Results are returned in a SteamUser.LoggedOnCallback.
public LogOnAnonymous ( uint appId ) : void
appId uint The AppID served by this game server, or 0 for the default.
return void