Skip to content

Commit

Permalink
- Work on storage service. Pre-squash commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
TBN-MapleWheels committed Dec 12, 2024
1 parent d9a68a7 commit 8af6430
Show file tree
Hide file tree
Showing 5 changed files with 468 additions and 76 deletions.
5 changes: 5 additions & 0 deletions Barotrauma/BarotraumaShared/SharedSource/LuaCs/ModUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ namespace Barotrauma.LuaCs

public static class ModUtils
{
public static class Definitions
{
public const string LuaCsForBarotrauma = nameof(LuaCsForBarotrauma);
}

public static class Environment
{
internal static void SetCurrentThreadAsMain() => MainThreadId = Thread.CurrentThread.ManagedThreadId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,7 @@

namespace Barotrauma.LuaCs.Services;

public class PluginManagementService : IPluginManagementService
public class PluginManagementService : IPluginManagementService, IAssemblyManagementService
{


public void Dispose()
{
throw new System.NotImplementedException();
}

public FluentResults.Result Reset()
{
throw new System.NotImplementedException();
}

public bool IsAssemblyLoadedGlobal(string friendlyName)
{
throw new System.NotImplementedException();
}

public Result<ImmutableArray<T>> GetTypes<T>(ContentPackage package = null, string namespacePrefix = null, bool includeInterfaces = false,
bool includeAbstractTypes = false, bool includeDefaultContext = true, bool includeExplicitAssembliesOnly = false)
{
throw new System.NotImplementedException();
}

public ImmutableArray<MetadataReference> GetStandardMetadataReferences()
{
throw new System.NotImplementedException();
}

public ImmutableArray<MetadataReference> GetPluginMetadataReferences()
{
throw new System.NotImplementedException();
}

public Result<ImmutableArray<IAssemblyResourceInfo>> GetCachedAssembliesForPackage(ContentPackage package)
{
throw new System.NotImplementedException();
}

public Result<ImmutableArray<IAssemblyResourceInfo>> LoadAssemblyResources(ImmutableArray<IAssemblyResourceInfo> resource)
{
throw new System.NotImplementedException();
}
}
Loading

0 comments on commit 8af6430

Please sign in to comment.