CCommand
Struct CCommand
Namespace: SwiftlyS2.Shared.Natives
Assembly: SwiftlyS2.CS2.dll
public struct CCommandInherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Constructors
CCommand()
public CCommand()CCommand(string)
public CCommand(string commandString)Parameters
- commandString string
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
- index int
Returns
FindArg(string)
public readonly int FindArg(string name)Parameters
- name string
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
- commandString string
Returns