<commit_before>﻿using Aurora.EffectsEngine;
using Aurora.EffectsEngine.Animations;
using Aurora.Profiles.RocketLeague.GSI;
using Aurora.Profiles.RocketLeague.GSI.Nodes;
using Aurora.Settings;
using Aurora.Settings.Layers;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Aurora.Profiles.RocketLeague.Layers
{
    public class RocketLeagueBackgroundLayerHandlerProperties : LayerHandlerProperties2Color<RocketLeagueBackgroundLayerHandlerProperties>
    {
        public Color? _DefaultColor { get; set; }

        [JsonIgnore]
        public Color DefaultColor { get { return Logic._DefaultColor ?? _DefaultColor ?? Color.Empty; } }

        public Color? _BlueColor { get; set; }

        [JsonIgnore]
        public Color BlueColor { get { return Logic._BlueColor ?? _BlueColor ?? Color.Empty; } }

        public Color? _OrangeColor { get; set; }

        [JsonIgnore]
        public Color OrangeColor { get { return Logic._OrangeColor ?? _OrangeColor ?? Color.Empty; } }

        public bool? _ShowTeamScoreSplit { get; set; }

        [JsonIgnore]
        public bool ShowTeamScoreSplit { get { return Logic._ShowTeamScoreSplit ?? _ShowTeamScoreSplit ?? false; } }

        public bool? _ShowGoalExplosion { get; set; }

        [JsonIgnore]
        public bool ShowGoalExplosion { get { return Logic._ShowGoalExplosion ?? _ShowGoalExplosion ?? false; } }

        public bool? _ShowEnemyExplosion { get; set; }

        [JsonIgnore]
        public bool ShowEnemyExplosion { get { return Logic._ShowEnemyExplosion ?? _ShowEnemyExplosion ?? false; } }


        public RocketLeagueBackgroundLayerHandlerProperties() : base() { }

        public RocketLeagueBackgroundLayerHandlerProperties(bool assign_default = false) : base( assign_default ) { }

        public override void Default()
        {
            base.Default();

            this._DefaultColor = Color.FromArgb( 140, 190, 230 );
            this._OrangeColor = Color.Orange;
            this._BlueColor = Color.Blue;
            this._ShowTeamScoreSplit = true;
        }

    }

    public class RocketLeagueBackgroundLayerHandler : LayerHandler<RocketLeagueBackgroundLayerHandlerProperties>
    {<commit_msg>Explosions enabled on default<commit_after>﻿using Aurora.EffectsEngine;
using Aurora.EffectsEngine.Animations;
using Aurora.Profiles.RocketLeague.GSI;
using Aurora.Profiles.RocketLeague.GSI.Nodes;
using Aurora.Settings;
using Aurora.Settings.Layers;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Aurora.Profiles.RocketLeague.Layers
{
    public class RocketLeagueBackgroundLayerHandlerProperties : LayerHandlerProperties2Color<RocketLeagueBackgroundLayerHandlerProperties>
    {
        public Color? _DefaultColor { get; set; }

        [JsonIgnore]
        public Color DefaultColor { get { return Logic._DefaultColor ?? _DefaultColor ?? Color.Empty; } }

        public Color? _BlueColor { get; set; }

        [JsonIgnore]
        public Color BlueColor { get { return Logic._BlueColor ?? _BlueColor ?? Color.Empty; } }

        public Color? _OrangeColor { get; set; }

        [JsonIgnore]
        public Color OrangeColor { get { return Logic._OrangeColor ?? _OrangeColor ?? Color.Empty; } }

        public bool? _ShowTeamScoreSplit { get; set; }

        [JsonIgnore]
        public bool ShowTeamScoreSplit { get { return Logic._ShowTeamScoreSplit ?? _ShowTeamScoreSplit ?? false; } }

        public bool? _ShowGoalExplosion { get; set; }

        [JsonIgnore]
        public bool ShowGoalExplosion { get { return Logic._ShowGoalExplosion ?? _ShowGoalExplosion ?? false; } }

        public bool? _ShowEnemyExplosion { get; set; }

        [JsonIgnore]
        public bool ShowEnemyExplosion { get { return Logic._ShowEnemyExplosion ?? _ShowEnemyExplosion ?? false; } }


        public RocketLeagueBackgroundLayerHandlerProperties() : base() { }

        public RocketLeagueBackgroundLayerHandlerProperties(bool assign_default = false) : base( assign_default ) { }

        public override void Default()
        {
            base.Default();

            this._DefaultColor = Color.FromArgb( 140, 190, 230 );
            this._OrangeColor = Color.Orange;
            this._BlueColor = Color.Blue;
            this._ShowTeamScoreSplit = true;
            this._ShowGoalExplosion = true;
            this._ShowEnemyExplosion = true;
        }

    }

    public class RocketLeagueBackgroundLayerHandler : LayerHandler<RocketLeagueBackgroundLayerHandlerProperties>
    {
{'fraction_non_alphanumeric': 0.0856965431587663, 'fraction_numerical': 0.004553922583316084, 'mean_word_length': 3.291296625222025, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5222341', 'n_tokens_mistral': 1415, 'n_tokens_neox': 1275, 'n_words': 305}