Table of Contents

Interface IServerCommandProvider

Namespace
RDCore.SDK.Server.Services
Assembly
RDCore.SDK.dll

A service that provides server commands.

public interface IServerCommandProvider

Methods

GetCommand(string)

Gets the specified command if it exists.

ServerCommand? GetCommand(string name)

Parameters

name string

The registered command name.

Returns

ServerCommand

null if no ServerCommand exists in this assembly with the specified name.

GetCommandRegistrations()

Gets all the command registrations for this assembly.

string[] GetCommandRegistrations()

Returns

string[]

An array of command names used for registering the command capabilities during the initialization handshake.