namespace FishDice.LuckyDice
{
    public sealed class ComboRuleDefinition
    {
        public string RuleId;
        public int Priority;
        public string MatcherType;
        public string ComboKey;
        public string FaceKey;
        public int? RequiredCount;
        public int? MinCount;
        public int? MaxCount;
        public int? DiceCount;
        public int? OfAKindCount;
        public int? MinSum;
        public int? MaxSum;
        public bool UseOrderedKey;
        public bool StopAfterMatched = true;
        public RollActionDefinition[] Actions;
    }

    public sealed class RollActionDefinition
    {
        public string ActionType;
        public ActionParamDefinition[] Params;
    }

    public sealed class ActionParamDefinition
    {
        public string Key;
        public string Value;
    }
}
