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

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

공개 프로퍼티들

프로퍼티 타입 설명
MaxPlayersDisabled bool

공개 메소드들

메소드 설명
ChangeLimits ( int newMaxSlots, int newOverlimitSlots ) : int
FreeSlot ( int id ) : void
HandoverSlot ( IPlayerConnection src, ClientConnection dst ) : bool
Initialize ( int maxSlots, int overlimitSlots ) : void
IsPrivileged ( int id ) : bool
RemoveFromQueues ( ClientConnection conn ) : void
Schedule ( ClientConnection conn, int priority ) : int

비공개 메소드들

메소드 설명
AssignSlot ( ClientConnection conn, int id ) : bool
AssignSlotOrQueue ( ClientConnection conn, int queue ) : int
FindForSlot ( int id ) : ClientConnection
MaxPlayersCommand ( ISender sender, ArgumentList args ) : void
PushSlot ( int id ) : void
QCommand ( ISender sender, ArgumentList args ) : void
WaitingMessage ( ClientConnection conn ) : string

메소드 상세

ChangeLimits() 공개 정적인 메소드

public static ChangeLimits ( int newMaxSlots, int newOverlimitSlots ) : int
newMaxSlots int
newOverlimitSlots int
리턴 int

FreeSlot() 공개 정적인 메소드

public static FreeSlot ( int id ) : void
id int
리턴 void

HandoverSlot() 공개 정적인 메소드

public static HandoverSlot ( IPlayerConnection src, ClientConnection dst ) : bool
src IPlayerConnection
dst ClientConnection
리턴 bool

Initialize() 공개 정적인 메소드

public static Initialize ( int maxSlots, int overlimitSlots ) : void
maxSlots int
overlimitSlots int
리턴 void

IsPrivileged() 공개 정적인 메소드

public static IsPrivileged ( int id ) : bool
id int
리턴 bool

RemoveFromQueues() 공개 정적인 메소드

public static RemoveFromQueues ( ClientConnection conn ) : void
conn ClientConnection
리턴 void

Schedule() 공개 정적인 메소드

public static Schedule ( ClientConnection conn, int priority ) : int
conn ClientConnection
priority int
리턴 int

프로퍼티 상세

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

public static bool MaxPlayersDisabled
리턴 bool