mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-18 13:57:46 +01:00
Use strongly typed ids in most places.
This commit is contained in:
parent
dccd347432
commit
18b6b87e6b
26 changed files with 192 additions and 193 deletions
|
|
@ -152,7 +152,7 @@ public partial class TexToolsMeta
|
|||
|
||||
for( var i = 0; i <= baseFile.Count; ++i )
|
||||
{
|
||||
var entry = baseFile.GetEntry( partIdx, i );
|
||||
var entry = baseFile.GetEntry( partIdx, (Variant)i );
|
||||
b.Write( entry.MaterialId );
|
||||
b.Write( entry.DecalId );
|
||||
b.Write( entry.AttributeAndSound );
|
||||
|
|
@ -184,7 +184,7 @@ public partial class TexToolsMeta
|
|||
foreach( var manip in manips )
|
||||
{
|
||||
b.Write( ( ushort )Names.CombinedRace( manip.Est.Gender, manip.Est.Race ) );
|
||||
b.Write( manip.Est.SetId );
|
||||
b.Write( manip.Est.SetId.Id );
|
||||
b.Write( manip.Est.Entry );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue