Skip to content

Class Arguments

Namespace: Void.Minecraft.Commands.Brigadier
Assembly: Void.Minecraft.dll

public class Arguments

Inheritance

objectArguments

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

Bool()

public static BoolArgumentType Bool()

Returns

BoolArgumentType

Double(double, double)

public static DoubleArgumentType Double(double min = -1.7976931348623157E+308, double max = 1.7976931348623157E+308)

Parameters

min double

max double

Returns

DoubleArgumentType

Float(float, float)

public static FloatArgumentType Float(float min = -3.4028235E+38, float max = 3.4028235E+38)

Parameters

min float

max float

Returns

FloatArgumentType

GetBool(CommandContext, string)

public static bool GetBool(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

bool

GetDouble(CommandContext, string)

public static double GetDouble(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

double

GetFloat(CommandContext, string)

public static float GetFloat(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

float

GetInteger(CommandContext, string)

public static int GetInteger(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

int

GetLong(CommandContext, string)

public static long GetLong(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

long

GetString(CommandContext, string)

public static string GetString(CommandContext context, string name)

Parameters

context CommandContext

name string

Returns

string

GreedyString()

public static StringArgumentType GreedyString()

Returns

StringArgumentType

Integer(int, int)

public static IntegerArgumentType Integer(int min = -2147483648, int max = 2147483647)

Parameters

min int

max int

Returns

IntegerArgumentType

Long(long, long)

public static LongArgumentType Long(long min = -9223372036854775808, long max = 9223372036854775807)

Parameters

min long

max long

Returns

LongArgumentType

String()

public static StringArgumentType String()

Returns

StringArgumentType

Word()

public static StringArgumentType Word()

Returns

StringArgumentType