C# Class Ark.Rcon

Exibir arquivo Open project: prom3theu5/iNGEN-Ark-RCON-Desktop

Private Properties

Property Type Description
OnBanPlayer void
OnConsoleLogUpdated void
OnGetChatMessage void
OnGetPlayers void
OnKickPlayer void
OnReceivedPacket void
OnScheduledTask void
OnServerAuthFail void
OnServerAuthSuccess void
OnServerConnectionDisconnected void
OnServerConnectionFailed void
OnServerConnectionStarting void
OnUnWhitelistPlayer void
OnWhitelistPlayer void
PurgeClient void

Public Methods

Method Description
BanPlayer ( ulong steamid ) : void
Connect ( ConnectionInfo connectionInfo ) : Task
ConsoleCommand ( string message, string nickname ) : void
Disconnect ( ) : void
Echo ( string message ) : void
ExecCommand ( Opcode code, string command ) : bool
ExecCommand ( string command, bool writeToConsole = false ) : bool
ExecGetChat ( ) : bool
ExecuteScheduledTask ( string TaskName, string TaskCommand ) : void
GetPlayers ( ) : void
KickPlayer ( ulong steamid ) : void
OnServerConnectionDropped ( object sender, ServerConnectionEventArgs args ) : void
OnServerConnectionSucceeded ( object sender, ServerConnectionEventArgs args ) : void
Rcon ( ) : Ark.Models
RequestAuth ( string password ) : void
Run ( ) : Task
Say ( string message, string nickname ) : void
SendPrivateMessage ( string message, ulong steamID ) : void
UnWhitelistPlayer ( ulong steamid ) : void
Update ( ) : Task
WhitelistPlayer ( ulong steamid ) : void

Private Methods

Method Description
OnBanPlayer ( Packet packet ) : void
OnConsoleLogUpdated ( Packet packet ) : void
OnGetChatMessage ( Packet packet ) : void
OnGetPlayers ( Packet packet ) : void
OnKickPlayer ( Packet packet ) : void
OnReceivedPacket ( object sender, PacketEventArgs args ) : void
OnScheduledTask ( Packet packet ) : void
OnServerAuthFail ( Packet packet ) : void
OnServerAuthSuccess ( Packet packet ) : void
OnServerConnectionDisconnected ( object sender, ServerConnectionEventArgs args ) : void
OnServerConnectionFailed ( object sender, ServerConnectionEventArgs args ) : void
OnServerConnectionStarting ( object sender, ServerConnectionEventArgs args ) : void
OnUnWhitelistPlayer ( Packet packet ) : void
OnWhitelistPlayer ( Packet packet ) : void
PurgeClient ( ) : void

Method Details

BanPlayer() public method

public BanPlayer ( ulong steamid ) : void
steamid ulong
return void

Connect() public method

public Connect ( ConnectionInfo connectionInfo ) : Task
connectionInfo ConnectionInfo
return Task

ConsoleCommand() public method

public ConsoleCommand ( string message, string nickname ) : void
message string
nickname string
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Echo() public method

public Echo ( string message ) : void
message string
return void

ExecCommand() public method

public ExecCommand ( Opcode code, string command ) : bool
code Opcode
command string
return bool

ExecCommand() public method

public ExecCommand ( string command, bool writeToConsole = false ) : bool
command string
writeToConsole bool
return bool

ExecGetChat() public method

public ExecGetChat ( ) : bool
return bool

ExecuteScheduledTask() public method

public ExecuteScheduledTask ( string TaskName, string TaskCommand ) : void
TaskName string
TaskCommand string
return void

GetPlayers() public method

public GetPlayers ( ) : void
return void

KickPlayer() public method

public KickPlayer ( ulong steamid ) : void
steamid ulong
return void

OnServerConnectionDropped() public method

public OnServerConnectionDropped ( object sender, ServerConnectionEventArgs args ) : void
sender object
args ServerConnectionEventArgs
return void

OnServerConnectionSucceeded() public method

public OnServerConnectionSucceeded ( object sender, ServerConnectionEventArgs args ) : void
sender object
args ServerConnectionEventArgs
return void

Rcon() public method

public Rcon ( ) : Ark.Models
return Ark.Models

RequestAuth() public method

public RequestAuth ( string password ) : void
password string
return void

Run() public method

public Run ( ) : Task
return Task

Say() public method

public Say ( string message, string nickname ) : void
message string
nickname string
return void

SendPrivateMessage() public method

public SendPrivateMessage ( string message, ulong steamID ) : void
message string
steamID ulong
return void

UnWhitelistPlayer() public method

public UnWhitelistPlayer ( ulong steamid ) : void
steamid ulong
return void

Update() public method

public Update ( ) : Task
return Task

WhitelistPlayer() public method

public WhitelistPlayer ( ulong steamid ) : void
steamid ulong
return void