Struct KVValue
- Assembly
- ValveResourceFormat.dll
Structure to hold type + flag + value
public readonly struct KVValueInherited Members
Constructors
KVValue(KVValueType, object)
Initializes a new instance of the ValveResourceFormat.Serialization.KeyValues.KVValue struct.
public KVValue(KVValueType type, object value)Parameters
typeKVValueType-
The value type.
valueobject-
The value.
KVValue(KVValueType, KVFlag, object)
Initializes a new instance of the ValveResourceFormat.Serialization.KeyValues.KVValue struct.
public KVValue(KVValueType type, KVFlag flag, object value)Parameters
KVValue(object?)
Initializes a new instance of the ValveResourceFormat.Serialization.KeyValues.KVValue struct, inferring the type from the value.
public KVValue(object? value)Parameters
valueobject?-
The value.
Properties
Flag
Gets the value flag.
public KVFlag Flag { get; }Property Value
Type
Gets the value type.
public KVValueType Type { get; }Property Value
- KVValueType
Value
Gets the value.
public object? Value { get; }