C# Class ShootManiaXMLRPC.ShootManiaServer

ファイルを表示 Open project: JuJuBoSc/SMAdminTools Class Usage Examples

Public Methods

Method Description
Authenticate ( String Username, String Password ) : System.Boolean
BanId ( Int32 PlayerId, String Message ) : void
ChatSend ( String Message ) : void
ChatSendServerMessage ( String Message ) : void
ChatSendToLogin ( String Login, String Text ) : void
ChooseNextMap ( String Filename ) : void
Connect ( ) : int
DisableCallback ( ) : void
Disconnect ( ) : void
EnableCallback ( ) : void
GetBanList ( int MaxResults, int StartIndex ) : List
GetChatLines ( ) : List
GetCurrentMapInfo ( ) : ShootManiaXMLRPC.Structs.CurrentMapInfo
GetMapList ( int MaxResults, int StartIndex ) : List
GetMaxPlayers ( ) : MaxPlayers
GetMaxSpectators ( ) : MaxSpectators
GetPlayerList ( int MaxResults, int StartIndex ) : List
GetPlayerListByPlayerLogin ( string Login ) : PlayerList
GetScriptName ( ) : ShootManiaXMLRPC.Structs.ScriptName
GetServerComment ( ) : String
GetServerName ( ) : String
GetServerPassword ( ) : String
GetServerPasswordForSpectator ( ) : String
GetStatus ( ) : ShootManiaXMLRPC.Structs.ServerStatus
KickId ( Int32 PlayerId, String Message ) : void
NextMap ( System.Boolean DontClearCupScores ) : void
RestartMap ( System.Boolean DontClearCupScores ) : void
SendNoticeToLogin ( String Login, String Text ) : void
SetApiVersion ( String Version ) : void
SetMaxPlayers ( Int32 MaxPlayers ) : void
SetMaxSpectators ( Int32 MaxSpectators ) : void
SetScriptName ( String ScriptName ) : void
SetServerComment ( String Comment ) : void
SetServerName ( String Comment ) : void
SetServerPassword ( String Password ) : void
SetServerPasswordForSpectator ( String Password ) : void
ShootManiaServer ( String IP, Int32 Port ) : System
UnBan ( String ClientName ) : void

Private Methods

Method Description
Client_EventGbxCallback ( object o, XmlRpc e ) : void
ParseEventGbx ( XmlRpc e ) : void

Method Details

Authenticate() public method

public Authenticate ( String Username, String Password ) : System.Boolean
Username String
Password String
return System.Boolean

BanId() public method

public BanId ( Int32 PlayerId, String Message ) : void
PlayerId System.Int32
Message String
return void

ChatSend() public method

public ChatSend ( String Message ) : void
Message String
return void

ChatSendServerMessage() public method

public ChatSendServerMessage ( String Message ) : void
Message String
return void

ChatSendToLogin() public method

public ChatSendToLogin ( String Login, String Text ) : void
Login String
Text String
return void

ChooseNextMap() public method

public ChooseNextMap ( String Filename ) : void
Filename String
return void

Connect() public method

public Connect ( ) : int
return int

DisableCallback() public method

public DisableCallback ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

EnableCallback() public method

public EnableCallback ( ) : void
return void

GetBanList() public method

public GetBanList ( int MaxResults, int StartIndex ) : List
MaxResults int
StartIndex int
return List

GetChatLines() public method

public GetChatLines ( ) : List
return List

GetCurrentMapInfo() public method

public GetCurrentMapInfo ( ) : ShootManiaXMLRPC.Structs.CurrentMapInfo
return ShootManiaXMLRPC.Structs.CurrentMapInfo

GetMapList() public method

public GetMapList ( int MaxResults, int StartIndex ) : List
MaxResults int
StartIndex int
return List

GetMaxPlayers() public method

public GetMaxPlayers ( ) : MaxPlayers
return ShootManiaXMLRPC.Structs.MaxPlayers

GetMaxSpectators() public method

public GetMaxSpectators ( ) : MaxSpectators
return ShootManiaXMLRPC.Structs.MaxSpectators

GetPlayerList() public method

public GetPlayerList ( int MaxResults, int StartIndex ) : List
MaxResults int
StartIndex int
return List

GetPlayerListByPlayerLogin() public method

public GetPlayerListByPlayerLogin ( string Login ) : PlayerList
Login string
return ShootManiaXMLRPC.Structs.PlayerList

GetScriptName() public method

public GetScriptName ( ) : ShootManiaXMLRPC.Structs.ScriptName
return ShootManiaXMLRPC.Structs.ScriptName

GetServerComment() public method

public GetServerComment ( ) : String
return String

GetServerName() public method

public GetServerName ( ) : String
return String

GetServerPassword() public method

public GetServerPassword ( ) : String
return String

GetServerPasswordForSpectator() public method

public GetServerPasswordForSpectator ( ) : String
return String

GetStatus() public method

public GetStatus ( ) : ShootManiaXMLRPC.Structs.ServerStatus
return ShootManiaXMLRPC.Structs.ServerStatus

KickId() public method

public KickId ( Int32 PlayerId, String Message ) : void
PlayerId System.Int32
Message String
return void

NextMap() public method

public NextMap ( System.Boolean DontClearCupScores ) : void
DontClearCupScores System.Boolean
return void

RestartMap() public method

public RestartMap ( System.Boolean DontClearCupScores ) : void
DontClearCupScores System.Boolean
return void

SendNoticeToLogin() public method

public SendNoticeToLogin ( String Login, String Text ) : void
Login String
Text String
return void

SetApiVersion() public method

public SetApiVersion ( String Version ) : void
Version String
return void

SetMaxPlayers() public method

public SetMaxPlayers ( Int32 MaxPlayers ) : void
MaxPlayers System.Int32
return void

SetMaxSpectators() public method

public SetMaxSpectators ( Int32 MaxSpectators ) : void
MaxSpectators System.Int32
return void

SetScriptName() public method

public SetScriptName ( String ScriptName ) : void
ScriptName String
return void

SetServerComment() public method

public SetServerComment ( String Comment ) : void
Comment String
return void

SetServerName() public method

public SetServerName ( String Comment ) : void
Comment String
return void

SetServerPassword() public method

public SetServerPassword ( String Password ) : void
Password String
return void

SetServerPasswordForSpectator() public method

public SetServerPasswordForSpectator ( String Password ) : void
Password String
return void

ShootManiaServer() public method

public ShootManiaServer ( String IP, Int32 Port ) : System
IP String
Port System.Int32
return System

UnBan() public method

public UnBan ( String ClientName ) : void
ClientName String
return void