Files
BITKit/Src/Core/Node/ICondition.cs
CortexCore b7b89ee71a 1
2024-03-31 23:31:00 +08:00

17 lines
314 B
C#

using System;
namespace BITKit
{
public interface ICondition
{
public bool Allow => OnCheck();
public string Reason=> "Not Implemented";
bool OnCheck();
}
[Serializable]
public struct AllowCondition : ICondition
{
public bool OnCheck() => true;
}
}