Files

17 lines
314 B
C#
Raw Permalink Normal View History

2024-06-03 10:11:43 +08:00
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;
}
}