<commit_before><?php

declare(strict_types=1);

namespace BlockHorizons\BlockSniper\data;

use BlockHorizons\BlockSniper\exception\InvalidItemException;
use BlockHorizons\BlockSniper\Loader;
use BlockHorizons\BlockSniper\parser\Parser;
use ErrorException;
use pocketmine\item\Item;
use Sandertv\Marshal\DecodeException;
use Sandertv\Marshal\FileNotFoundException;
use Sandertv\Marshal\Marshal;
use Sandertv\Marshal\Unmarshal;
use function rename;

class ConfigData{
	private $filePath = "";

	/**
	 * @var string
	 * @marshal Configuration Version
	 */
	public $configurationVersion = ""; // Default to an empty version, so we can properly detect outdated configs.
	/**
	 * @var string
	 * @marshal Message Language
	 */
	public $messageLanguage = "en";
	/**
	 * @var BrushItem
	 * @marshal Brush Item
	 */
	public $brushItem;
	/**
	 * @var BrushItem
	 * @marshal Selection Item
	 */
	public $selectionItem;
	/**
	 * @var int
	 * @marshal Maximum Size
	 */
	public $maxSize = 30;
	/**
	 * @var int
	 * @marshal Asynchronous Operation Size
	 */
	public $asyncOperationSize = 15;
	/**
	 * @var int
	 * @marshal Maximum Revert Stores
	 */
	public $maxRevertStores = 15;
	/**
	 * @var bool
	 * @marshal Reset Decrement Brush
	 */
	public $resetDecrementBrush = true;
	/**
	 * @var bool
	 * @marshal Save Brush Properties
	 */
	public $saveBrushProperties = true;
	/**
	 * @var int
	 * @marshal Session Timeout Time in minutes
	 */
	public $sessionTimeoutTime = 5;
	/**
	 * @var float
	 * @marshal Brush cooldown in seconds
	 */
	public $cooldownSeconds = 1.0;<commit_msg>ConfigData: Set the brush cooldown seconds to 0 by default.<commit_after><?php

declare(strict_types=1);

namespace BlockHorizons\BlockSniper\data;

use BlockHorizons\BlockSniper\exception\InvalidItemException;
use BlockHorizons\BlockSniper\Loader;
use BlockHorizons\BlockSniper\parser\Parser;
use ErrorException;
use pocketmine\item\Item;
use Sandertv\Marshal\DecodeException;
use Sandertv\Marshal\FileNotFoundException;
use Sandertv\Marshal\Marshal;
use Sandertv\Marshal\Unmarshal;
use function rename;

class ConfigData{
	private $filePath = "";

	/**
	 * @var string
	 * @marshal Configuration Version
	 */
	public $configurationVersion = ""; // Default to an empty version, so we can properly detect outdated configs.
	/**
	 * @var string
	 * @marshal Message Language
	 */
	public $messageLanguage = "en";
	/**
	 * @var BrushItem
	 * @marshal Brush Item
	 */
	public $brushItem;
	/**
	 * @var BrushItem
	 * @marshal Selection Item
	 */
	public $selectionItem;
	/**
	 * @var int
	 * @marshal Maximum Size
	 */
	public $maxSize = 30;
	/**
	 * @var int
	 * @marshal Asynchronous Operation Size
	 */
	public $asyncOperationSize = 15;
	/**
	 * @var int
	 * @marshal Maximum Revert Stores
	 */
	public $maxRevertStores = 15;
	/**
	 * @var bool
	 * @marshal Reset Decrement Brush
	 */
	public $resetDecrementBrush = true;
	/**
	 * @var bool
	 * @marshal Save Brush Properties
	 */
	public $saveBrushProperties = true;
	/**
	 * @var int
	 * @marshal Session Timeout Time in minutes
	 */
	public $sessionTimeoutTime = 5;
	/**
	 * @var float
	 * @marshal Brush cooldown in seconds
	 */
	public $cooldownSeconds = 0.0;
{'fraction_non_alphanumeric': 0.1169811320754717, 'fraction_numerical': 0.006603773584905661, 'mean_word_length': 3.726597325408618, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7242914', 'n_tokens_mistral': 1113, 'n_tokens_neox': 984, 'n_words': 278}