Table of Contents

Class CombinedTuningModelTuning

Namespace
LlamaLogic.Packages.Models.CombinedTuning
Assembly
LlamaLogic.Packages.dll

Represents an individual tuning document from a CombinedTuningModel (🔓)

public sealed class CombinedTuningModelTuning
Inheritance
CombinedTuningModelTuning
Inherited Members

Properties

Document

Gets the tuning document, as it would appear in a TuningMarkup resource

public XDocument Document { get; }

Property Value

XDocument

Instance

Gets the instance of the tuning (its s attribute)

public ulong Instance { get; }

Property Value

ulong

Name

Gets the name of the tuning (its n attribute), if it has one

public string? Name { get; }

Property Value

string

ResourceType

Gets the type of the tuning's resource, derived from TypeName the way the game does

public ResourceType ResourceType { get; }

Property Value

ResourceType

Remarks

The game's type is the FNV-1 32-bit hash of the type name, except for tun, relbit and notebook_entry, which it assigns Tuning, RelationshipBitTuning and NotebookEntryTuning. The value may not be a defined ResourceType member when the game introduces a type this library does not yet name.

TypeName

Gets the name the merged document gives the tuning's type (the n attribute of its <R> group, e.g. buff or Renderer_GlobalShadowSettings)

public string TypeName { get; }

Property Value

string