From 2778df0fe7d7d79ab42c2785b5040de72d67a733 Mon Sep 17 00:00:00 2001 From: MapleWheels Date: Fri, 26 Dec 2025 19:10:34 -0500 Subject: [PATCH] - Changes to the Lua ScriptSystem spec. --- .../LuaCs/Services/Safe/ISafeStorageService.cs | 11 ----------- .../_Interfaces/ILuaScriptManagementService.cs | 16 ---------------- 2 files changed, 27 deletions(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/Safe/ISafeStorageService.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/Safe/ISafeStorageService.cs index bad6520eb..93247a023 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/Safe/ISafeStorageService.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/Safe/ISafeStorageService.cs @@ -42,15 +42,4 @@ public interface ISafeStorageService : IStorageService /// Deletes all paths from all white lists. /// void ClearAllWhitelists(); - - /// - /// Whether the service instance is in file read-only mode. - /// - bool IsReadOnlyMode { get; } - - /// - /// Sets the service into file read-only mode. Cannot be undone. - /// - /// - bool EnableReadOnlyMode(); } diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/_Interfaces/ILuaScriptManagementService.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/_Interfaces/ILuaScriptManagementService.cs index d8acb5544..aad63020f 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/_Interfaces/ILuaScriptManagementService.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/_Interfaces/ILuaScriptManagementService.cs @@ -24,22 +24,6 @@ public interface ILuaScriptManagementService : IReusableService // [Required] Task LoadScriptResourcesAsync(ImmutableArray resourcesInfo); - /// - /// Executes cached scripts (code) for the given . - /// - /// - /// - // [Required] - FluentResults.Result ExecuteLoadedScriptsForPackage(ContentPackage package); - - /// - /// Executes cached scripts (code) for the given collection . - /// - /// - /// - // [Required] - FluentResults.Result ExecuteLoadedScriptsForPackages(IEnumerable packages); - /// /// ///