Class TextCommandResult
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class TextCommandResult
- Inheritance
-
TextCommandResult
- Inherited Members
- Extension Methods
Fields
Data
public object Data
Field Value
ErrorCode
public string ErrorCode
Field Value
MessageParams
public object[] MessageParams
Field Value
- object[]
Status
public EnumCommandStatus Status
Field Value
StatusMessage
Will be displayed with a Lang.Get()
public string StatusMessage
Field Value
Properties
Deferred
public static TextCommandResult Deferred { get; }
Property Value
DeferredHandler
public static OnCommandDelegate DeferredHandler { get; }
Property Value
Methods
Error(string, string)
public static TextCommandResult Error(string message, string errorCode = "")
Parameters
Returns
Success(string, object)
public static TextCommandResult Success(string message = "", object data = null)