2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-06 16:57:25 +00:00

ZoneCodeGenerator: Change block Statement to get the number of fastfileblock from the enum entry instead of manually specifying it

This commit is contained in:
Jan
2019-10-30 15:01:45 +01:00
parent 7ab7447827
commit 799d3cbce7
5 changed files with 36 additions and 32 deletions

View File

@@ -11,7 +11,7 @@
}
public string Name { get; }
public int Index { get; }
public long Index { get; }
public Type BlockType { get; }
public bool IsDefault { get; }
public bool IsTemp => BlockType == Type.Temp;
@@ -19,7 +19,7 @@
public bool IsDelay => BlockType == Type.Delay;
public bool IsNormal => BlockType == Type.Normal;
public FastFileBlock(string name, int index, Type blockType, bool isDefault)
public FastFileBlock(string name, long index, Type blockType, bool isDefault)
{
Name = name;
Index = index;