Class IsBlockArgParser
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class IsBlockArgParser : ArgumentParserBase, ICommandArgumentParser
- Inheritance
-
IsBlockArgParser
- Implements
- Inherited Members
- Extension Methods
Constructors
IsBlockArgParser(string, ICoreAPI, bool)
public IsBlockArgParser(string argName, ICoreAPI api, bool isMandatoryArg)
Parameters
Methods
GetValue()
public override object GetValue()
Returns
SetValue(object)
Used by the async system
public override void SetValue(object data)
Parameters
data
object
Test(ICoreAPI, Caller, string)
public static string Test(ICoreAPI api, Caller caller, string testcmd)
Parameters
Returns
TryProcess(TextCommandCallingArgs, Action<AsyncParseResults>)
Parse the args.
public override EnumParseResult TryProcess(TextCommandCallingArgs args, Action<AsyncParseResults> onReady = null)
Parameters
args
TextCommandCallingArgsonReady
Action<AsyncParseResults>Only needs to be called when returning Deferred as parseresult