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

ZoneCodeGenerator: Add reusable statement for commands to be able to tell the generator that a member can be a fastfile offset and not nessecarly a following pointer

This commit is contained in:
Jan
2019-11-15 14:47:45 +01:00
parent 271c819e97
commit b15ce90fbb
4 changed files with 99 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ namespace ZoneCodeGenerator.Domain.Information
public Variable Member { get; set; }
public bool IsString { get; set; }
public bool IsScriptString { get; set; }
public bool IsReusable { get; set; }
public IEvaluation Condition { get; set; }
public MemberComputations Computations => new MemberComputations(this);
@@ -21,6 +22,7 @@ namespace ZoneCodeGenerator.Domain.Information
StructureType = structureType;
IsString = false;
IsScriptString = false;
IsReusable = false;
Condition = null;
}