Table of Contents

Interface ICommandUser

Namespace
Uncreated.Warfare.Interaction.Commands
Assembly
Uncreated.Warfare.dll
[CannotApplyEqualityOperator]
public interface ICommandUser

Properties

IMGUI

If SendMessage(string) should use IMGUI (Unity rich text) for coloring.

bool IMGUI { get; }

Property Value

bool

IsDisconnected

If this user is disconnected from the server.

bool IsDisconnected { get; }

Property Value

bool

Remarks

Return false if not supported.

IsSuperUser

If permissions shouldn't even be considered for this actor (the console).

bool IsSuperUser { get; }

Property Value

bool

IsTerminal

If SendMessage(string) outputs to a terminal.

bool IsTerminal { get; }

Property Value

bool

Steam64

Steam ID of this actor where applicable, or zero.

CSteamID Steam64 { get; }

Property Value

CSteamID

Methods

GetModerationActor()

Create an IModerationActor for this command actor.

IModerationActor GetModerationActor()

Returns

IModerationActor

Exceptions

NotSupportedException

SendMessage(string)

Send a raw string as feedback to this actor.

void SendMessage(string message)

Parameters

message string

Exceptions

GameThreadException

Not on main thread.