From 830a83c0d0647b67f6ff761249782ca54390fb8b Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:47:38 +0800 Subject: [PATCH] Update Consts.cs --- src/Consts.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/Consts.cs b/src/Consts.cs index 5ab4b62..572b286 100644 --- a/src/Consts.cs +++ b/src/Consts.cs @@ -19,5 +19,31 @@ public const string META_HIDDEN_TAG = "HiddenInDebagging"; public const int MAGIC_PRIME = 314159; + + /// defs + public const bool REFLECTION_DISABLED = +#if REFLECTION_DISABLED + true; +#else + false; +#endif + public const bool DISABLE_DEBUG = +#if DISABLE_DEBUG + true; +#else + false; +#endif + public const bool ENABLE_DRAGONECS_ASSERT_CHEKS = +#if ENABLE_DRAGONECS_ASSERT_CHEKS + true; +#else + false; +#endif + public const bool ENABLE_DUMMY_SPAN = +#if ENABLE_DUMMY_SPAN + true; +#else + false; +#endif } }