- Added XmlDoc for InternalScript instance.

This commit is contained in:
MapleWheels
2026-02-12 20:21:46 -05:00
parent 5f38b4a43a
commit dff38f7609
@@ -1,19 +1,20 @@
#nullable enable #nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using Barotrauma.LuaCs.Data; using Barotrauma.LuaCs.Data;
using FluentResults;
using MoonSharp.Interpreter; using MoonSharp.Interpreter;
using MoonSharp.Interpreter.Interop;
namespace Barotrauma.LuaCs; namespace Barotrauma.LuaCs;
public interface ILuaScriptManagementService : IReusableService public interface ILuaScriptManagementService : IReusableService
{ {
/// <summary>
/// The running <see cref="Script"/> instance, if available.
/// </summary>
/// <remarks>
/// It is recommended to avoid using this directly if another API is available for the intended purposes.
/// </remarks>
Script? InternalScript { get; } Script? InternalScript { get; }
object? GetGlobalTableValue(string tableName); object? GetGlobalTableValue(string tableName);