2023-08-11 23:57:37 +08:00
|
|
|
using System;
|
|
|
|
|
2023-06-05 19:57:17 +08:00
|
|
|
namespace BITKit
|
|
|
|
{
|
|
|
|
public interface ICondition
|
|
|
|
{
|
|
|
|
bool OnCheck();
|
|
|
|
}
|
2023-08-11 23:57:37 +08:00
|
|
|
[Serializable]
|
|
|
|
public struct AllowCondition : ICondition
|
|
|
|
{
|
|
|
|
public bool OnCheck() => true;
|
|
|
|
}
|
2023-06-05 19:57:17 +08:00
|
|
|
}
|