14 lines
219 B
C#
14 lines
219 B
C#
using System;
|
|
|
|
namespace BITKit
|
|
{
|
|
public interface ICondition
|
|
{
|
|
bool OnCheck();
|
|
}
|
|
[Serializable]
|
|
public struct AllowCondition : ICondition
|
|
{
|
|
public bool OnCheck() => true;
|
|
}
|
|
} |