Skip to main content

CommandExecutedData

A class in Root.Township, ATT.PlayerStates.

Payload of the ConsoleEvents.CommandExecuted console event, raised on the server by WebSocketCommandHandler after it runs a console command.

Constructors​

MemberWhat it is
CommandExecutedData()Creates a CommandExecutedData with default values.

Fields​

MemberWhat it is
string CommandThe command text that was run.
string MessageThe command's output text.
bool WasSuccessfulTrue if the command ran without failing.

Used in​

Members of other types that take, return or hold a CommandExecutedData: