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

ZoneCodeGenerator: Save whether a structure is anonymous and therefore a name has been generated or not.

This commit is contained in:
Jan
2019-11-14 14:54:36 +01:00
parent f777c049c6
commit b59ca3b261
5 changed files with 37 additions and 6 deletions

View File

@@ -16,6 +16,8 @@ namespace ZoneCodeGenerator.Domain
public List<Variable> Members { get; }
public bool IsAnonymous { get; set; }
private bool finalized;
public void FinalizeDataType()
{
@@ -30,6 +32,7 @@ namespace ZoneCodeGenerator.Domain
Members = new List<Variable>();
Pack = pack;
finalized = false;
IsAnonymous = false;
}
private void CalculateProperties()