mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 08:17:59 +01:00
Start for Mod rework, currently not applied.
This commit is contained in:
parent
1861c40a4f
commit
5bfcb71f52
30 changed files with 1440 additions and 306 deletions
|
|
@ -19,7 +19,7 @@ public readonly struct EstManipulation : IMetaManipulation< EstManipulation >
|
|||
Head = CharacterUtility.HeadEstIdx,
|
||||
}
|
||||
|
||||
public readonly ushort SkeletonIdx;
|
||||
public readonly ushort Entry; // SkeletonIdx.
|
||||
|
||||
[JsonConverter( typeof( StringEnumConverter ) )]
|
||||
public readonly Gender Gender;
|
||||
|
|
@ -33,13 +33,13 @@ public readonly struct EstManipulation : IMetaManipulation< EstManipulation >
|
|||
public readonly EstType Slot;
|
||||
|
||||
[JsonConstructor]
|
||||
public EstManipulation( Gender gender, ModelRace race, EstType slot, ushort setId, ushort skeletonIdx )
|
||||
public EstManipulation( Gender gender, ModelRace race, EstType slot, ushort setId, ushort entry )
|
||||
{
|
||||
SkeletonIdx = skeletonIdx;
|
||||
Gender = gender;
|
||||
Race = race;
|
||||
SetId = setId;
|
||||
Slot = slot;
|
||||
Entry = entry;
|
||||
Gender = gender;
|
||||
Race = race;
|
||||
SetId = setId;
|
||||
Slot = slot;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ public readonly struct EstManipulation : IMetaManipulation< EstManipulation >
|
|||
|
||||
public bool Apply( EstFile file )
|
||||
{
|
||||
return file.SetEntry( Names.CombinedRace( Gender, Race ), SetId, SkeletonIdx ) switch
|
||||
return file.SetEntry( Names.CombinedRace( Gender, Race ), SetId, Entry ) switch
|
||||
{
|
||||
EstFile.EstEntryChange.Unchanged => false,
|
||||
EstFile.EstEntryChange.Changed => true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue