Files @ d16a2d816aa5
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Models/Reaction.cs - annotation

Jason Maltzen
Don't open the recipe generator log file on view creation - only open it if configured when starting recipe generation. Fixes a crash when importing reaction data / profile data.
namespace DesertPaintCodex.Models
{
    public class Reaction
    {
        public int Red { get; }
        public int Green { get; }
        public int Blue { get; }
        public bool Exported { get; set; }

        public Reaction(int r, int g, int b)
        {
            Red = r;
            Green = g;
            Blue = b;
        }

        public override string ToString()
        {
            return "[" + Red + ", " + Green + ", " + Blue + "]";
        }
    }
}