SwiftlyS2

CCommand

Struct CCommand

Namespace: SwiftlyS2.Shared.Natives

Assembly: SwiftlyS2.CS2.dll

public struct CCommand

Inherited Members

Constructors

CCommand()

public CCommand()

CCommand(string)

public CCommand(string commandString)
Parameters

Properties

ArgC

public readonly int ArgC { get; }
Property Value

ArgS

public readonly string? ArgS { get; }
Property Value

GetCommandString

public readonly string? GetCommandString { get; }
Property Value

this

public readonly string? this[int index] { get; }
Property Value

Methods

Arg(int)

public readonly string? Arg(int index)
Parameters
Returns

FindArg(string)

public readonly int FindArg(string name)
Parameters
Returns

FindArgInt(string, int)

public readonly int FindArgInt(string name, int defaultVal)
Parameters
Returns

MaxCommandLength()

public static int MaxCommandLength()
Returns

Reset()

public void Reset()

Tokenize(string)

public bool Tokenize(string commandString)
Parameters
Returns

On this page