添加对 Core 的直接引用

This commit is contained in:
OLDREDSTONE
2025-03-25 15:49:57 +08:00
parent 24907abedb
commit 06c19bf10a
296 changed files with 24961 additions and 2 deletions
@@ -0,0 +1,28 @@
namespace RhythmBase.Components.Conditions
{
/// <summary>
/// Represents a custom condition with an expression.
/// </summary>
public class CustomCondition : BaseConditional
{
/// <summary>
/// Initializes a new instance of the <see cref="CustomCondition"/> class.
/// </summary>
public CustomCondition()
{
Type = ConditionType.Custom;
}
/// <summary>
/// Gets or sets the expression for the custom condition.
/// </summary>
/// <value>The expression as a string.</value>
public string Expression { get; set; } = "";
/// <summary>
/// Gets the type of the condition.
/// </summary>
/// <value>The type of the condition, which is <see cref="BaseConditional.ConditionType.Custom"/>.</value>
public override ConditionType Type { get; }
}
}