C# 클래스 SteamKit2.SteamGameServer

This handler is used for interacting with the Steam network as a game server.
상속: ClientMsgHandler
파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
HandleAuthComplete ( IPacketMsg packetMsg ) : void
HandleStatusReply ( IPacketMsg packetMsg ) : void
SteamGameServer ( ) : System

메소드 상세

HandleMsg() 공개 메소드

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

LogOff() 공개 메소드

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
리턴 void

LogOn() 공개 메소드

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.
리턴 void

LogOnAnonymous() 공개 메소드

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.
리턴 void