C# Class LaunchServer.ServerWrapper

Afficher le fichier Open project: N3X15/MineEdit Class Usage Examples

Méthodes publiques

Свойство Type Description
Bans List
CurrentPlayers string>.Dictionary
KnownPlayers Player>.Dictionary
MaxPlayers int
Whitelist List

Méthodes publiques

Méthode Description
Ban ( string name ) : void
Close ( ) : void
CurrentDomain_ProcessExit ( object sender, EventArgs e ) : void
Give ( string name, short what, byte num ) : void
IsBanned ( string name ) : bool
Kick ( string name ) : void
LoadConfig ( ) : void
SaveConfig ( ) : void
Say ( string val ) : void
SendCommand ( string val ) : void
ServerProcess_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
ServerProcess_Exited ( object sender, EventArgs e ) : void
ServerProcess_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void
ServerWrapper ( ) : System
SetupServer ( ) : void
Start ( ) : void
Stop ( bool permanently ) : void
Unban ( string name ) : void

Private Methods

Méthode Description
GetConfig ( string k ) : string
GetServerMemory ( ) : string
Load ( ) : void
LoadPlugins ( Assembly assembly ) : void
ProcessChat ( string line ) : void
ProcessEmote ( string line ) : void
ProcessLogin ( string line ) : void
ProcessQuit ( string line ) : void
Save ( ) : void
SetConfig ( string k, string v ) : void

Method Details

Ban() public méthode

public Ban ( string name ) : void
name string
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CurrentDomain_ProcessExit() public méthode

public CurrentDomain_ProcessExit ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Give() public méthode

public Give ( string name, short what, byte num ) : void
name string
what short
num byte
Résultat void

IsBanned() public méthode

public IsBanned ( string name ) : bool
name string
Résultat bool

Kick() public méthode

public Kick ( string name ) : void
name string
Résultat void

LoadConfig() public méthode

public LoadConfig ( ) : void
Résultat void

SaveConfig() public méthode

public SaveConfig ( ) : void
Résultat void

Say() public méthode

public Say ( string val ) : void
val string
Résultat void

SendCommand() public méthode

public SendCommand ( string val ) : void
val string
Résultat void

ServerProcess_ErrorDataReceived() public méthode

public ServerProcess_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
Résultat void

ServerProcess_Exited() public méthode

public ServerProcess_Exited ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ServerProcess_OutputDataReceived() public méthode

public ServerProcess_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
Résultat void

ServerWrapper() public méthode

public ServerWrapper ( ) : System
Résultat System

SetupServer() public méthode

public SetupServer ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( bool permanently ) : void
permanently bool
Résultat void

Unban() public méthode

public Unban ( string name ) : void
name string
Résultat void

Property Details

Bans public_oe property

public List Bans
Résultat List

CurrentPlayers public_oe property

public Dictionary CurrentPlayers
Résultat string>.Dictionary

KnownPlayers public_oe property

public Dictionary KnownPlayers
Résultat Player>.Dictionary

MaxPlayers public_oe property

public int MaxPlayers
Résultat int

Whitelist public_oe property

public List Whitelist
Résultat List