C# 클래스 tdsm.core.ServerCore.Server

파일 보기 프로젝트 열기: DeathCradle/Terraria-s-Dedicated-Server-Mod

공개 프로퍼티들

프로퍼티 타입 설명
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 ( Exception e ) : string
Server ( ) : System
ServerLoopLoop ( ) : void

메소드 상세

AddUniqueConnection() 공개 정적인 메소드

public static AddUniqueConnection ( string name, string ip ) : void
name string
ip string
리턴 void

CheckSection() 공개 정적인 메소드

public static CheckSection ( int who, Vector2 position, int fluff = 1 ) : void
who int
position Vector2
fluff int
리턴 void

Command_AcceptConnections() 공개 정적인 메소드

Toggle whether the server should accept new connections
public static Command_AcceptConnections ( ISender sender, ArgumentList args ) : void
sender ISender Sending player
args ArgumentList Arguments sent with command
리턴 void

Init() 공개 정적인 메소드

public static Init ( ) : void
리턴 void

LoadUniqueConnection() 공개 정적인 메소드

public static LoadUniqueConnection ( ) : System.Collections.Generic.List
리턴 System.Collections.Generic.List

PerformRestart() 공개 정적인 메소드

public static PerformRestart ( ) : void
리턴 void

ResetSections() 공개 정적인 메소드

public static ResetSections ( ) : void
리턴 void

SafeClose() 공개 정적인 메소드

public static SafeClose ( this socket ) : void
socket this
리턴 void

SafeShutdown() 공개 정적인 메소드

public static SafeShutdown ( this socket ) : void
socket this
리턴 void

ServerLoop() 공개 정적인 메소드

public static ServerLoop ( ) : void
리턴 void

StartServer() 공개 정적인 메소드

public static StartServer ( ) : void
리턴 void

StopServer() 공개 정적인 메소드

public static StopServer ( bool disconnect = true ) : void
disconnect bool
리턴 void

프로퍼티 상세

OverlimitSlots 공개적으로 정적으로 프로퍼티

public static int OverlimitSlots
리턴 int

_NoAcceptData 공개적으로 정적으로 프로퍼티

public static byte[] _NoAcceptData
리턴 byte[]