C# Class GameCommon.GameNetworkServer

Inheritance: NetworkServer
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( string reason ) : void
GameNetworkServer ( string serverName, string serverVersion, int maxConnections, bool entitySystemServiceEnabled ) : System

Méthodes protégées

Méthode Description
OnConnectedNodeConnectionStatusChanged ( NetworkNode connectedNode, NetworkConnectionStatuses status, string message ) : void
OnIncomingConnectionApproval ( NetworkNode connectedNode, string clientVersion, string loginName, string password, string &rejectReason ) : bool
OnReceiveProtocolError ( ConnectedNode sender, string message ) : void

Method Details

Dispose() public méthode

public Dispose ( string reason ) : void
reason string
Résultat void

GameNetworkServer() public méthode

public GameNetworkServer ( string serverName, string serverVersion, int maxConnections, bool entitySystemServiceEnabled ) : System
serverName string
serverVersion string
maxConnections int
entitySystemServiceEnabled bool
Résultat System

OnConnectedNodeConnectionStatusChanged() protected méthode

protected OnConnectedNodeConnectionStatusChanged ( NetworkNode connectedNode, NetworkConnectionStatuses status, string message ) : void
connectedNode NetworkNode
status NetworkConnectionStatuses
message string
Résultat void

OnIncomingConnectionApproval() protected méthode

protected OnIncomingConnectionApproval ( NetworkNode connectedNode, string clientVersion, string loginName, string password, string &rejectReason ) : bool
connectedNode NetworkNode
clientVersion string
loginName string
password string
rejectReason string
Résultat bool

OnReceiveProtocolError() protected méthode

protected OnReceiveProtocolError ( ConnectedNode sender, string message ) : void
sender ConnectedNode
message string
Résultat void