better-genshin-impact/BetterGenshinImpact/Helpers/AssertUtils.cs
2024-01-06 22:59:23 +08:00

12 lines
214 B
C#

namespace BetterGenshinImpact.Helpers;
public class AssertUtils
{
public static void IsTrue(bool b, string msg)
{
if (!b)
{
throw new System.Exception(msg);
}
}
}