1
0
Fork 0
forked from aly/qstbak

muffin v7.5.6

This commit is contained in:
alydev 2026-08-17 20:27:25 +10:00
parent 6266f9e6b7
commit addf2d530f
619 changed files with 264792 additions and 446022 deletions

View file

@ -0,0 +1,26 @@
using System.Runtime.CompilerServices;
namespace Questionable.Controller.Conditions;
internal sealed class QuestCountCondition : StopCondition
{
public required int Count { get; set; }
public override bool IsSession => true;
public override EStopConditionType Type => EStopConditionType.QuestCount;
public override bool Evaluate(StopEvaluationContext context)
{
return context.QuestsCompletedThisSession >= Count;
}
[MethodImpl(MethodImplOptions.NoInlining)]
public override string GetDescription()
{
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 1);
defaultInterpolatedStringHandler.AppendFormatted(Count);
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1579947935));
return defaultInterpolatedStringHandler.ToStringAndClear();
}
}