Add Bargainer (not simple, to say the least), Code Cleaup, Fix FFA

This commit is contained in:
Gurge44 committed 2024-04-07 15:25:44 +02:00
1 parent c8ef3f0a9f
commit 732ba9ec01
365 files changed
+2457 -2025

No files matched your search

+2 -2
View File
@@ -6,11 +6,10 @@ public static class DebugModeManager
{
// これが有効の時、通常のゲームに支障のないデバッグ機能(詳細ログ・ゲーム外でのデバッグ表示など)が有効化される。
// また、ゲーム内オプションでデバッグモードを有効化することができる。
public static bool AmDebugger { get; private set; } =
public static bool AmDebugger { get; private set; }
#if DEBUG
true;
#else
false;
#endif
// これが有効の時、通常のゲームを破壊する可能性のある強力なデバッグ機能(テレポートなど)が有効化される。
public static bool IsDebugMode => AmDebugger && EnableDebugMode != null && EnableDebugMode.GetBool();
@@ -22,6 +21,7 @@ public static class DebugModeManager
// AmDebugger = デバッグビルドである || デバッグキー認証が通った
AmDebugger = AmDebugger || auth.CheckString(input);
}
public static void SetupCustomOption()
{
EnableDebugMode = BooleanOptionItem.Create(2, "EnableDebugMode", false, TabGroup.SystemSettings, true)