mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-08 09:47:26 +00:00
Import code from previous AssetBuilder version
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
namespace ZoneCodeGenerator.Domain.FastFileStructure
|
||||
{
|
||||
class FastFileBlock
|
||||
{
|
||||
public enum Type
|
||||
{
|
||||
Temp,
|
||||
Runtime,
|
||||
Delay,
|
||||
Normal
|
||||
}
|
||||
|
||||
public string Name { get; }
|
||||
public int Index { get; }
|
||||
public Type BlockType { get; }
|
||||
public bool IsDefault { get; }
|
||||
public bool IsTemp => BlockType == Type.Temp;
|
||||
public bool IsRuntime => BlockType == Type.Runtime;
|
||||
public bool IsDelay => BlockType == Type.Delay;
|
||||
public bool IsNormal => BlockType == Type.Normal;
|
||||
|
||||
public FastFileBlock(string name, int index, Type blockType, bool isDefault)
|
||||
{
|
||||
Name = name;
|
||||
Index = index;
|
||||
BlockType = blockType;
|
||||
IsDefault = isDefault;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user