Method | Description | |
---|---|---|
AddClient ( Socket socket ) : void | ||
Close ( ) : void | ||
CountPlayers ( ) : int | ||
DeleteClient ( int Index ) : void | ||
DisconnectSocket ( int Index ) : void | ||
FindIndex ( Socket socket ) : int | ||
GetSocket ( int Index ) : Socket | ||
Send ( byte buffer, int Index ) : void | ||
SendPacketIfItemIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
SendPacketIfMonsterIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
SendPacketIfPlayerIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
SendPacketInRange ( byte tmpBuffer, int Index_ ) : void | ||
SendPacketInRangeExceptMe ( byte tmpBuffer, int Index_ ) : void | ||
SendToAllExceptMe ( byte tmpBuffer, int Index ) : void | ||
SendToAllIngame ( byte tmpBuffer ) : void | ||
ServerSocket ( string IpAdress, int Port ) : System | ||
Start ( ) : void |
Method | Description | |
---|---|---|
OnClientConnect ( IAsyncResult ar ) : void | ||
OnReceiveData ( IAsyncResult ar ) : void |
public static AddClient ( Socket socket ) : void | ||
socket | Socket | |
return | void |
public static DeleteClient ( int Index ) : void | ||
Index | int | |
return | void |
public static DisconnectSocket ( int Index ) : void | ||
Index | int | |
return | void |
public static FindIndex ( Socket socket ) : int | ||
socket | Socket | |
return | int |
public static GetSocket ( int Index ) : Socket | ||
Index | int | |
return | Socket |
public static Send ( byte buffer, int Index ) : void | ||
buffer | byte | |
Index | int | |
return | void |
public static SendPacketIfItemIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
tmpBuffer | byte | |
Index_ | int | |
return | void |
public static SendPacketIfMonsterIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
tmpBuffer | byte | |
Index_ | int | |
return | void |
public static SendPacketIfPlayerIsSpawned ( byte tmpBuffer, int Index_ ) : void | ||
tmpBuffer | byte | |
Index_ | int | |
return | void |
public static SendPacketInRange ( byte tmpBuffer, int Index_ ) : void | ||
tmpBuffer | byte | |
Index_ | int | |
return | void |
public static SendPacketInRangeExceptMe ( byte tmpBuffer, int Index_ ) : void | ||
tmpBuffer | byte | |
Index_ | int | |
return | void |
public static SendToAllExceptMe ( byte tmpBuffer, int Index ) : void | ||
tmpBuffer | byte | |
Index | int | |
return | void |
public static SendToAllIngame ( byte tmpBuffer ) : void | ||
tmpBuffer | byte | |
return | void |
public ServerSocket ( string IpAdress, int Port ) : System | ||
IpAdress | string | |
Port | int | |
return | System |