C# 클래스 OpenRA.Mods.Common.Server.LobbyCommands

상속: ServerTrait, IInterpretCommand, INotifyServerStart, INotifyServerEmpty, IClientJoined
파일 보기 프로젝트 열기: OpenRA/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
ClientJoined ( Server server, Connection conn ) : void
InterpretCommand ( Server server, Connection conn, Session client, string cmd ) : bool
LoadMapSettings ( Server server, Session gs, Ruleset rules ) : void
PlayerReferenceForSlot ( Server server, Session slot ) : PlayerReference
ServerStarted ( Server server ) : void
ValidateCommand ( Server server, Connection conn, Session client, string cmd ) : bool

비공개 메소드들

메소드 설명
CheckAutoStart ( Server server ) : void
MakeSlotFromPlayerReference ( PlayerReference pr ) : Session.Slot
MissionBriefingOrDefault ( Server server ) : string
SanitizePlayerColor ( Server server, HSLColor askedColor, int playerIndex, Connection connectionToEcho = null ) : HSLColor
ValidateSlotCommand ( Server server, Connection conn, Session client, string arg, bool requiresHost ) : bool

메소드 상세

ClientJoined() 공개 메소드

public ClientJoined ( Server server, Connection conn ) : void
server OpenRA.Server.Server
conn OpenRA.Server.Connection
리턴 void

InterpretCommand() 공개 메소드

public InterpretCommand ( Server server, Connection conn, Session client, string cmd ) : bool
server OpenRA.Server.Server
conn OpenRA.Server.Connection
client OpenRA.Network.Session
cmd string
리턴 bool

LoadMapSettings() 공개 정적인 메소드

public static LoadMapSettings ( Server server, Session gs, Ruleset rules ) : void
server OpenRA.Server.Server
gs OpenRA.Network.Session
rules Ruleset
리턴 void

PlayerReferenceForSlot() 공개 메소드

public PlayerReferenceForSlot ( Server server, Session slot ) : PlayerReference
server OpenRA.Server.Server
slot OpenRA.Network.Session
리턴 PlayerReference

ServerStarted() 공개 메소드

public ServerStarted ( Server server ) : void
server OpenRA.Server.Server
리턴 void

ValidateCommand() 공개 정적인 메소드

public static ValidateCommand ( Server server, Connection conn, Session client, string cmd ) : bool
server OpenRA.Server.Server
conn OpenRA.Server.Connection
client OpenRA.Network.Session
cmd string
리턴 bool