- Added API to get package by name to PackageManagementService.cs and LuaScriptManagementService.cs
- Added ILuaConfigService to Lua API.
This commit is contained in:
@@ -6,5 +6,7 @@ namespace Barotrauma.LuaCs;
|
||||
|
||||
public interface ILuaConfigService : ILuaService
|
||||
{
|
||||
|
||||
FluentResults.Result LoadSavedValueForConfig(ISettingBase setting);
|
||||
bool TryGetConfig<T>(ContentPackage package, string internalName, out T instance) where T : ISettingBase;
|
||||
FluentResults.Result SaveConfigValue(ISettingBase setting);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Barotrauma.LuaCs;
|
||||
|
||||
public interface ILuaService
|
||||
public interface ILuaService : IService
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user