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.
ファイルを表示 Open project: BF2Statistics/ControlCenter

Public Methods

Method 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

Method Description
GamespyEmulator ( ) : System

Method Details

ForceLogout() public static method

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

IsPlayerConnected() public static method

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

Shutdown() public static method

Shutsdown all of the Gamespy Servers
public static Shutdown ( ) : void
return void

Start() public static method

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