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
IsDisconnected
If this user is disconnected from the server.
bool IsDisconnected { get; }
Property Value
Remarks
Return false if not supported.
IsSuperUser
If permissions shouldn't even be considered for this actor (the console).
bool IsSuperUser { get; }
Property Value
IsTerminal
If SendMessage(string) outputs to a terminal.
bool IsTerminal { get; }
Property Value
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
Exceptions
SendMessage(string)
Send a raw string as feedback to this actor.
void SendMessage(string message)
Parameters
messagestring
Exceptions
- GameThreadException
Not on main thread.