forked from aly/qstbak
muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
|
|
@ -0,0 +1,26 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Questionable.Controller.Conditions;
|
||||
|
||||
internal sealed class GlobalSequenceCondition : StopCondition
|
||||
{
|
||||
public required int TargetSequence { get; set; }
|
||||
|
||||
public override bool IsSession => false;
|
||||
|
||||
public override EStopConditionType Type => EStopConditionType.GlobalSequence;
|
||||
|
||||
public override bool Evaluate(StopEvaluationContext context)
|
||||
{
|
||||
return context.CurrentSequence >= TargetSequence;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string GetDescription()
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(48652591));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(TargetSequence);
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue