Skip to content

Commit

Permalink
Add comments for the enabled and hierarchyEnabled properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleStan committed May 15, 2024
1 parent 39ee2c7 commit ee341cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Yafc.Model/Model/ProductionTableContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,14 @@ public class RecipeRow : ModelObject<ProductionTable>, IModuleFiller, IGroupedEl
public RecipeLinks links { get; internal set; }
public float fixedBuildings { get; set; }
public int? builtBuildings { get; set; }
/// <summary>
/// If <see langword="true"/>, the enabled checkbox for this recipe is checked.
/// </summary>
public bool enabled { get; set; } = true;
/// <summary>
/// If <see langword="true"/>, the enabled checkboxes for this recipe and all its parent recipies are checked.
/// If <see langword="false"/>, at least one enabled checkbox for this recipe or its ancestors is unchecked.
/// </summary>
public bool hierarchyEnabled { get; internal set; }
public int tag { get; set; }

Expand Down

0 comments on commit ee341cb

Please sign in to comment.