Table of Contents

Struct KVValue

Namespace
ValveResourceFormat.Serialization.KeyValues
Assembly
ValveResourceFormat.dll

Structure to hold type + flag + value

public readonly struct KVValue

Inherited Members

Constructors

KVValue(KVValueType, object)

Initializes a new instance of the ValveResourceFormat.Serialization.KeyValues.KVValue struct.

public KVValue(KVValueType type, object value)

Parameters

type KVValueType

The value type.

value object

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

type KVValueType

The value type.

flag KVFlag

The value flag.

value object

The value.

KVValue(object?)

Initializes a new instance of the ValveResourceFormat.Serialization.KeyValues.KVValue struct, inferring the type from the value.

public KVValue(object? value)

Parameters

value object?

The value.

Properties

Flag

Gets the value flag.

public KVFlag Flag { get; }

Property Value

KVFlag

Type

Gets the value type.

public KVValueType Type { get; }

Property Value

KVValueType

Value

Gets the value.

public object? Value { get; }

Property Value

object?