C# Class YurikoCS.Server

显示文件 Open project: ItalianDevs4PM/Yuriko-CS Class Usage Examples

Public Properties

Property Type Description
OFFLINE_MESSAGE_DATA_ID byte[]
OnlinePlayers List

Public Methods

Method Description
GetConsoleSender ( ) : ConsoleSender
GetInstance ( ) : Server
GetMaxPlayers ( ) : int
GetMotd ( ) : string
GetOnlinePlayers ( ) : List
GetPort ( ) : int
SendPacket ( IPAddress ipaddress ) : void
SendPacket ( string ipaddress ) : void
Server ( ) : System

Private Methods

Method Description
waitConsoleInput ( ) : void

Method Details

GetConsoleSender() public method

public GetConsoleSender ( ) : ConsoleSender
return ConsoleSender

GetInstance() public static method

public static GetInstance ( ) : Server
return Server

GetMaxPlayers() public method

public GetMaxPlayers ( ) : int
return int

GetMotd() public method

public GetMotd ( ) : string
return string

GetOnlinePlayers() public method

public GetOnlinePlayers ( ) : List
return List

GetPort() public method

public GetPort ( ) : int
return int

SendPacket() public method

public SendPacket ( IPAddress ipaddress ) : void
ipaddress System.Net.IPAddress
return void

SendPacket() public method

public SendPacket ( string ipaddress ) : void
ipaddress string
return void

Server() public method

public Server ( ) : System
return System

Property Details

OFFLINE_MESSAGE_DATA_ID public_oe static_oe property

public static byte[] OFFLINE_MESSAGE_DATA_ID
return byte[]

OnlinePlayers public_oe property

public List OnlinePlayers
return List