프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OverlimitSlots | int | ||
_NoAcceptData | byte[] |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
AcceptClient ( Socket client ) : bool | ||
HandleSocketException ( |
||
Server ( ) : System | ||
ServerLoopLoop ( ) : void |
public static AddUniqueConnection ( string name, string ip ) : void | ||
name | string | |
ip | string | |
리턴 | void |
public static CheckSection ( int who, Vector2 position, int fluff = 1 ) : void | ||
who | int | |
position | Vector2 | |
fluff | int | |
리턴 | void |
public static Command_AcceptConnections ( ISender sender, ArgumentList args ) : void | ||
sender | ISender | Sending player |
args | ArgumentList | Arguments sent with command |
리턴 | void |
public static LoadUniqueConnection ( ) : System.Collections.Generic.List |
||
리턴 | System.Collections.Generic.List |
public static StopServer ( bool disconnect = true ) : void | ||
disconnect | bool | |
리턴 | void |