C# Class OpenRA.Mods.Common.Server.LobbyCommands

Inheritance: ServerTrait, IInterpretCommand, INotifyServerStart, INotifyServerEmpty, IClientJoined
Afficher le fichier Open project: OpenRA/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ClientJoined() public méthode

public ClientJoined ( Server server, Connection conn ) : void
server OpenRA.Server.Server
conn OpenRA.Server.Connection
Résultat void

InterpretCommand() public méthode

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
Résultat bool

LoadMapSettings() public static méthode

public static LoadMapSettings ( Server server, Session gs, Ruleset rules ) : void
server OpenRA.Server.Server
gs OpenRA.Network.Session
rules Ruleset
Résultat void

PlayerReferenceForSlot() public méthode

public PlayerReferenceForSlot ( Server server, Session slot ) : PlayerReference
server OpenRA.Server.Server
slot OpenRA.Network.Session
Résultat PlayerReference

ServerStarted() public méthode

public ServerStarted ( Server server ) : void
server OpenRA.Server.Server
Résultat void

ValidateCommand() public static méthode

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
Résultat bool