C# Class GameCommon.UserManagementServerNetworkService

Inheritance: ServerNetworkService
Mostrar archivo Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Public Methods

Method Description
CreateClientUser ( NetworkNode connectedNode ) : UserInfo
CreateServerUser ( string name ) : UserInfo
GetUser ( NetworkNode connectedNode ) : UserInfo
GetUser ( uint identifier ) : UserInfo
RemoveUser ( UserInfo user ) : void
UserManagementServerNetworkService ( ) : System

Protected Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
CreateUser ( string name, NetworkNode connectedNode ) : UserInfo
GetFreeUserIdentifier ( ) : uint

Method Details

CreateClientUser() public method

public CreateClientUser ( NetworkNode connectedNode ) : UserInfo
connectedNode NetworkNode
return UserInfo

CreateServerUser() public method

public CreateServerUser ( string name ) : UserInfo
name string
return UserInfo

Dispose() protected method

protected Dispose ( ) : void
return void

GetUser() public method

public GetUser ( NetworkNode connectedNode ) : UserInfo
connectedNode NetworkNode
return UserInfo

GetUser() public method

public GetUser ( uint identifier ) : UserInfo
identifier uint
return UserInfo

RemoveUser() public method

public RemoveUser ( UserInfo user ) : void
user UserInfo
return void

UserManagementServerNetworkService() public method

public UserManagementServerNetworkService ( ) : System
return System