The CommandResult type exposes the following members.

Collapse imageConstructors

  NameDescription
Public methodCommandResult()()()()
Creates an an instance with the status set to Success.
Public methodCommandResult(String)
Creates an instance of CommandResult with a failure message.
Public methodCommandResult(CommandResult..::..ResultStatus)
Creates an instance of CommandResult with a status.

Collapse imageMethods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Collapse imageProperties

  NameDescription
Public propertyFailureMessage
A message to send to the player when the command fails.
Public propertyStatus
The status of the command/

Collapse imageSee Also