SwiftlyS2

KeyValues

Struct KeyValues

Namespace: SwiftlyS2.Shared.Natives

Assembly: SwiftlyS2.CS2.dll

public struct KeyValues

Inherited Members

Fields

BitFieldVariables

public int BitFieldVariables
Field Value

ColorValue

public Color ColorValue
Field Value

FloatValue

public float FloatValue
Field Value

IntegerValue

public int IntegerValue
Field Value

KVSystem

public nint KVSystem
Field Value

PeerKeyValue

public KeyValues* PeerKeyValue
Field Value

PointerValue

public nint PointerValue
Field Value

StringValue

public nint StringValue
Field Value

SubKeyValue

public KeyValues* SubKeyValue
Field Value

UInt64Value

public ulong UInt64Value
Field Value

Properties

AllocatedExternalMemory

public bool AllocatedExternalMemory { get; set; }
Property Value

DataType

public KeyValuesDataType DataType { get; set; }
Property Value

HasEscapeSequences

public bool HasEscapeSequences { get; set; }
Property Value

KeyNameCaseSensitive

public int KeyNameCaseSensitive { get; set; }
Property Value

KeySymbolCaseSensitiveMatchesCaseInsensitive

public bool KeySymbolCaseSensitiveMatchesCaseInsensitive { get; set; }
Property Value

StoredSubKey

public bool StoredSubKey { get; set; }
Property Value

Methods

FindKey(HKeySymbol, bool)

public KeyValues* FindKey(HKeySymbol keyName, bool create = false)
Parameters
Returns

FindKey(string, bool)

public KeyValues* FindKey(string keyName, bool create = false)
Parameters
Returns

FindLastSubKey()

public KeyValues* FindLastSubKey()
Returns

GetBool(string, bool)

public bool GetBool(string keyName, bool defaultValue = false)
Parameters
Returns

GetColor(string, Color)

public Color GetColor(string keyName, Color defaultValue)
Parameters
Returns

GetDataType()

public KeyValuesDataType GetDataType()
Returns

GetDataType(string)

public KeyValuesDataType GetDataType(string keyName)
Parameters
Returns

GetFirstSubKey()

public KeyValues* GetFirstSubKey()
Returns

GetFirstTrueSubKey()

public KeyValues* GetFirstTrueSubKey()
Returns

GetFirstValue()

public KeyValues* GetFirstValue()
Returns

GetFloat(string, float)

public float GetFloat(string keyName, float defaultValue = 0)
Parameters
Returns

GetInt(string, int)

public int GetInt(string keyName, int defaultValue = 0)
Parameters
Returns

GetName()

public string GetName()
Returns

GetNextKey()

public KeyValues* GetNextKey()
Returns

GetNextTrueSubKey()

public KeyValues* GetNextTrueSubKey()
Returns

GetNextValue()

public KeyValues* GetNextValue()
Returns

GetPtr(string, nint)

public nint GetPtr(string keyName, nint defaultValue = 0)
Parameters
Returns

GetString(string, string)

public string GetString(string keyName, string defaultValue = "")
Parameters
Returns

GetUint64(string, ulong)

public ulong GetUint64(string keyName, ulong defaultValue = 0)
Parameters
Returns

IsEmpty()

public bool IsEmpty()
Returns

SetBool(string, bool)

public void SetBool(string keyName, bool value)
Parameters

SetColor(string, Color)

public void SetColor(string keyName, Color value)
Parameters

SetFloat(string, float)

public void SetFloat(string keyName, float value)
Parameters

SetInt(string, int)

public void SetInt(string keyName, int value)
Parameters

SetName(string)

public void SetName(string name)
Parameters

SetPtr(string, nint)

public void SetPtr(string keyName, nint value)
Parameters

SetString(string, string)

public void SetString(string keyName, string value)
Parameters

On this page