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
Group
Gets the group of the resource
public uint Group { get; }
Property Value
Instance
Gets the instance of the resource
public ulong Instance { get; }
Property Value
Key
Gets the resource key of the resource
public ResourceKey Key { get; }
Property Value
Kind
Gets the kind of the resource
public TuningArchiveResourceKind Kind { get; }
Property Value
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
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
Pack
Gets the code of the pack the resource came from (BG for the base game)
public string Pack { get; }
Property Value
Type
Gets the type of the resource
public ResourceType Type { get; }
Property Value
Methods
HasSameContentAs(TuningArchiveEntry)
Gets whether this version and the specified other have exactly the same content
public bool HasSameContentAs(TuningArchiveEntry other)
Parameters
otherTuningArchiveEntry
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.