Mods in singleplayer (-msco-singleplayer), 2.10.10

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 11:40:09 +02:00
co-authored by Claude Opus 5.5
parent 7bef8fe265
commit 733a0d9635
5 changed files with 35 additions and 8 deletions
+2
View File
@@ -48,6 +48,8 @@ namespace MSCO
protected void Log(string text) { MscoLog.Info("[" + Name + "] " + text); }
protected void LogWarning(string text) { MscoLog.Warning("[" + Name + "] " + text); }
/// <summary>Singleplayer mit Mods (Launcher: SINGLEPLAYER) - kein MSCO-Menü, kein Multiplayer, Send() geht nicht.</summary>
protected bool IsSingleplayer { get { return Bootstrap.Singleplayer; } }
/// <summary>In einer Sitzung (Server oder P2P)?</summary>
protected bool IsInSession { get { return MultiplayerManager.Instance != null && MultiplayerManager.Instance.IsInSession; } }
/// <summary>Selbst P2P-Host?</summary>