Class TuningNode
- Namespace
- LlamaLogic.TuningArchive
- Assembly
- LlamaLogic.TuningArchive.dll
Represents an element of a tuning document, as understood through its tuning description
public sealed class TuningNode
- Inheritance
-
TuningNode
- Inherited Members
Properties
Description
Gets the tunable description of the element, if one was found
public TunableDescription? Description { get; }
Property Value
ElementName
Gets the name of the element (such as T, L, U, V or E)
public string ElementName { get; }
Property Value
Enum
public TuningDescriptionClass? Enum { get; }
Property Value
EnumValue
Gets the numeric value of the enumeration member, if it was found
public long? EnumValue { get; }
Property Value
- long?
Line
Gets the 1-based line on which the element starts in the canonical text
public int Line { get; }
Property Value
Members
Gets the tunables the tuning descriptions declare for the element, in the order they declare them, if it is a tuple; otherwise, an empty list
public IReadOnlyList<TunableDescription> Members { get; }
Property Value
Option
Gets the option the element chooses (its t attribute), if it is a variant
public string? Option { get; }
Property Value
Path
Gets the path of the element from the root, such as loot_list[2].stat
public string Path { get; }
Property Value
ReferenceInstance
public ulong? ReferenceInstance { get; }
Property Value
ReferenceName
public string? ReferenceName { get; }
Property Value
ReferenceType
public ResourceType? ReferenceType { get; }
Property Value
ReferenceTypeName
Gets the name of the type the value refers to (as the tuning description names it, such as buff), if ValueKind is Reference
public string? ReferenceTypeName { get; }
Property Value
ResourceKey
Gets the resource key of the value, if ValueKind is ResourceKey
public ResourceKey? ResourceKey { get; }
Property Value
StringKey
Gets the key of the localized string, if ValueKind is LocalizedString
public uint? StringKey { get; }
Property Value
- uint?
Value
Gets the text value of the element, if it has one
public string? Value { get; }
Property Value
ValueEndColumn
Gets the 1-based column at which the element's value ends (exclusive), or 0 if the value is not on Line
public int ValueEndColumn { get; }
Property Value
ValueKind
Gets what the value of the element means
public TuningValueKind ValueKind { get; }
Property Value
ValueStartColumn
Gets the 1-based column at which the element's value starts, or 0 if the value is not on Line
public int ValueStartColumn { get; }