Table of Contents

Class Vec3iArgParser

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class Vec3iArgParser : ArgumentParserBase, ICommandArgumentParser
Inheritance
Vec3iArgParser
Implements
Inherited Members

Constructors

Vec3iArgParser(string, ICoreAPI, bool)

public Vec3iArgParser(string argName, ICoreAPI api, bool isMandatoryArg)

Parameters

argName string
api ICoreAPI
isMandatoryArg bool

Methods

GetValue()

public override object GetValue()

Returns

object

PreProcess(TextCommandCallingArgs)

public override void PreProcess(TextCommandCallingArgs args)

Parameters

args TextCommandCallingArgs

SetValue(object)

Used by the async system

public override void SetValue(object data)

Parameters

data object

TryProcess(TextCommandCallingArgs, Action<AsyncParseResults>)

Parse the args.

public override EnumParseResult TryProcess(TextCommandCallingArgs args, Action<AsyncParseResults> onReady = null)

Parameters

args TextCommandCallingArgs
onReady Action<AsyncParseResults>

Only needs to be called when returning Deferred as parseresult

Returns

EnumParseResult