Class TuningMergeConflict
- Namespace
- LlamaLogic.TuningArchive
- Assembly
- LlamaLogic.TuningArchive.dll
Represents a place where a merge could not combine the mod's change with the game's
public sealed record TuningMergeConflict : IEquatable<TuningMergeConflict>
- Inheritance
-
TuningMergeConflict
- Implements
- Inherited Members
Constructors
TuningMergeConflict(int, TuningMergeConflictKind, string, string?, string?, string?)
Represents a place where a merge could not combine the mod's change with the game's
public TuningMergeConflict(int Index, TuningMergeConflictKind Kind, string Path, string? Base, string? Mod, string? Game)
Parameters
IndexintThe position of the conflict among the merge's conflicts, which does not depend on how conflicts are resolved
KindTuningMergeConflictKindWhy the changes could not be combined
PathstringThe path of the element in the merged result, such as
loot_list[2].stat, or of an attribute, such as@cBasestringThe element in the version the mod was made from (the XML of the element on one line, or an attribute's value), if it was there
ModstringThe element in the mod, if it is there
GamestringThe element in the game's new version, if it is there
Properties
Base
The element in the version the mod was made from (the XML of the element on one line, or an attribute's value), if it was there
public string? Base { get; init; }
Property Value
Game
The element in the game's new version, if it is there
public string? Game { get; init; }
Property Value
Index
The position of the conflict among the merge's conflicts, which does not depend on how conflicts are resolved
public int Index { get; init; }
Property Value
Kind
Why the changes could not be combined
public TuningMergeConflictKind Kind { get; init; }
Property Value
Mod
The element in the mod, if it is there
public string? Mod { get; init; }
Property Value
Path
The path of the element in the merged result, such as loot_list[2].stat, or of an attribute, such as @c
public string Path { get; init; }