Table of Contents

Class TuningArchiveEntry

Namespace
LlamaLogic.TuningArchive
Assembly
LlamaLogic.TuningArchive.dll

Represents a version of a resource in a TuningArchiveFile

public sealed class TuningArchiveEntry
Inheritance
TuningArchiveEntry
Inherited Members

Properties

Class

Gets the Python class of the tuning (its c attribute), if it is instance tuning

public string? Class { get; }

Property Value

string

Group

Gets the group of the resource

public uint Group { get; }

Property Value

uint

Instance

Gets the instance of the resource

public ulong Instance { get; }

Property Value

ulong

Key

Gets the resource key of the resource

public ResourceKey Key { get; }

Property Value

ResourceKey

Kind

Gets the kind of the resource

public TuningArchiveResourceKind Kind { get; }

Property Value

TuningArchiveResourceKind

Module

Gets the Python module of the tuning (its m attribute, or the module of module tuning), if it has one

public string? Module { get; }

Property Value

string

Name

Gets the name of the resource (its tuning name, SimData instance name, or the path of a Python module), if it has one

public string? Name { get; }

Property Value

string

Pack

Gets the code of the pack the resource came from (BG for the base game)

public string Pack { get; }

Property Value

string

Type

Gets the type of the resource

public ResourceType Type { get; }

Property Value

ResourceType

Methods

HasSameContentAs(TuningArchiveEntry)

Gets whether this version and the specified other have exactly the same content

public bool HasSameContentAs(TuningArchiveEntry other)

Parameters

other TuningArchiveEntry

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.