mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-02 05:43:42 +01:00
Fix EQDP bug.
This commit is contained in:
parent
ad0c64d4ac
commit
30b32fdcd2
3 changed files with 4 additions and 12 deletions
|
|
@ -104,15 +104,11 @@ public unsafe class ExpandedEqpGmpBase : MetaBaseFile
|
|||
}
|
||||
}
|
||||
|
||||
public sealed class ExpandedEqpFile : ExpandedEqpGmpBase, IEnumerable<EqpEntry>
|
||||
public sealed class ExpandedEqpFile(MetaFileManager manager) : ExpandedEqpGmpBase(manager, false), IEnumerable<EqpEntry>
|
||||
{
|
||||
public static readonly CharacterUtility.InternalIndex InternalIndex =
|
||||
CharacterUtility.ReverseIndices[(int)MetaIndex.Eqp];
|
||||
|
||||
public ExpandedEqpFile(MetaFileManager manager)
|
||||
: base(manager, false)
|
||||
{ }
|
||||
|
||||
public EqpEntry this[PrimaryId idx]
|
||||
{
|
||||
get => (EqpEntry)GetInternal(idx);
|
||||
|
|
@ -147,15 +143,11 @@ public sealed class ExpandedEqpFile : ExpandedEqpGmpBase, IEnumerable<EqpEntry>
|
|||
=> GetEnumerator();
|
||||
}
|
||||
|
||||
public sealed class ExpandedGmpFile : ExpandedEqpGmpBase, IEnumerable<GmpEntry>
|
||||
public sealed class ExpandedGmpFile(MetaFileManager manager) : ExpandedEqpGmpBase(manager, true), IEnumerable<GmpEntry>
|
||||
{
|
||||
public static readonly CharacterUtility.InternalIndex InternalIndex =
|
||||
CharacterUtility.ReverseIndices[(int)MetaIndex.Gmp];
|
||||
|
||||
public ExpandedGmpFile(MetaFileManager manager)
|
||||
: base(manager, true)
|
||||
{ }
|
||||
|
||||
public GmpEntry this[PrimaryId idx]
|
||||
{
|
||||
get => new() { Value = GetInternal(idx) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue