C# Class BF2Statistics.Gamespy.GamespyEmulator

The Gamespy Server is used to emulate the Official Gamespy Login servers, and provide players the ability to create fake "Online" accounts.
Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Méthode Description
ForceLogout ( int Pid ) : bool

Forces the logout of a connected client

IsPlayerConnected ( int Pid ) : bool

Returns whether the specified player is currently connected

Shutdown ( ) : void

Shutsdown all of the Gamespy Servers

Start ( ) : void

Starts the Login Server listeners, and begins accepting new connections

Private Methods

Méthode Description
GamespyEmulator ( ) : System

Method Details

ForceLogout() public static méthode

Forces the logout of a connected client
public static ForceLogout ( int Pid ) : bool
Pid int
Résultat bool

IsPlayerConnected() public static méthode

Returns whether the specified player is currently connected
public static IsPlayerConnected ( int Pid ) : bool
Pid int
Résultat bool

Shutdown() public static méthode

Shutsdown all of the Gamespy Servers
public static Shutdown ( ) : void
Résultat void

Start() public static méthode

Starts the Login Server listeners, and begins accepting new connections
public static Start ( ) : void
Résultat void