using System.Runtime.CompilerServices; namespace Questionable.Controller.Conditions; internal sealed class GilThresholdCondition : StopCondition { public required int MinGil { get; set; } public override bool IsSession => false; public override EStopConditionType Type => EStopConditionType.GilThreshold; public override bool Evaluate(StopEvaluationContext context) { return context.Gil < MinGil; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetDescription() { DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E(-789256971)); defaultInterpolatedStringHandler.AppendFormatted(MinGil, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E(-1282575127)); return defaultInterpolatedStringHandler.ToStringAndClear(); } }