swiftlys2/docs/api/ai/
API Reference Natives

CCommand

Struct
Namespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public struct CCommand
View source

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[int]

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