Свойство | Тип | Описание | |
---|---|---|---|
PromoteConnection | void | ||
ReadConfig | void | ||
ReceiveClientsAsync | void | ||
RemoveConnection | void |
Метод | Описание | |
---|---|---|
CheckUserAccountAsync ( |
checks if a user account is valid using plugins and the minecraft.net services
|
|
Dispose ( ) : void |
Close all active connections and free resources synchronously
|
|
GetServerEndPoint ( IProxyConnection proxyConnection ) : |
Get a new server end point for a given proxy connection to.
|
|
GetServerVersion ( IProxyConnection proxyConnection, |
Get the minecraft protocol server of a given minecraft server.
|
|
OnlineModeEnabled ( IProxyConnection proxyConnection ) : bool |
Returns true if the online mode is enabled for a specific user or not.
|
|
ProxyServer ( ) : System |
Creates a new instance of the ProxyServer class.
|
|
Start ( ) : void |
Start listening for new users.
|
|
StopAsync ( ) : System.Threading.Tasks.Task |
Close all active connections and free resources asynchronously
|
Метод | Описание | |
---|---|---|
PromoteConnection ( |
||
ReadConfig ( ) : void | ||
ReceiveClientsAsync ( ) : void | ||
RemoveConnection ( |
public CheckUserAccountAsync ( |
||
proxyConnection | The proxy server which should be checked. | |
hash | string | The 'serverId' hash |
Результат | Task |
public GetServerEndPoint ( IProxyConnection proxyConnection ) : |
||
proxyConnection | IProxyConnection | The proxy connection which need a new server connection. |
Результат |
public GetServerVersion ( IProxyConnection proxyConnection, |
||
proxyConnection | IProxyConnection | The connection this server relates to. |
serverEndPoint | The current version of the Remote server info. | |
Результат | void |
public OnlineModeEnabled ( IProxyConnection proxyConnection ) : bool | ||
proxyConnection | IProxyConnection | The proxy connection which should be checked |
Результат | bool |
public StopAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |