Property | Type | Description | |
---|---|---|---|
OverlimitSlots | int | ||
_NoAcceptData | byte[] |
Method | Description | |
---|---|---|
AddUniqueConnection ( string name, string ip ) : void | ||
CheckSection ( int who, Vector2 position, int fluff = 1 ) : void | ||
Command_AcceptConnections ( ISender sender, ArgumentList args ) : void |
Toggle whether the server should accept new connections
|
|
Init ( ) : void | ||
LoadUniqueConnection ( ) : System.Collections.Generic.List |
||
PerformRestart ( ) : void | ||
ResetSections ( ) : void | ||
SafeClose ( this socket ) : void | ||
SafeShutdown ( this socket ) : void | ||
ServerLoop ( ) : void | ||
StartServer ( ) : void | ||
StopServer ( bool disconnect = true ) : void |
Method | Description | |
---|---|---|
AcceptClient ( Socket client ) : bool | ||
HandleSocketException ( |
||
Server ( ) : System | ||
ServerLoopLoop ( ) : void |
public static AddUniqueConnection ( string name, string ip ) : void | ||
name | string | |
ip | string | |
return | void |
public static CheckSection ( int who, Vector2 position, int fluff = 1 ) : void | ||
who | int | |
position | Vector2 | |
fluff | int | |
return | void |
public static Command_AcceptConnections ( ISender sender, ArgumentList args ) : void | ||
sender | ISender | Sending player |
args | ArgumentList | Arguments sent with command |
return | void |
public static LoadUniqueConnection ( ) : System.Collections.Generic.List |
||
return | System.Collections.Generic.List |
public static SafeClose ( this socket ) : void | ||
socket | this | |
return | void |
public static SafeShutdown ( this socket ) : void | ||
socket | this | |
return | void |
public static StopServer ( bool disconnect = true ) : void | ||
disconnect | bool | |
return | void |