Assorted bug fixes, remove dead Torch.Launcher project
This commit is contained in:
20
Torch.API/ModAPI/TorchAPI.cs
Normal file
20
Torch.API/ModAPI/TorchAPI.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
//Needed so Torch can set the instance here without exposing anything bad to mods or creating a circular dependency.
|
||||
[assembly: InternalsVisibleTo("Torch")]
|
||||
namespace Torch.API.ModAPI
|
||||
{
|
||||
/// <summary>
|
||||
/// Entry point for mods to access Torch.
|
||||
/// </summary>
|
||||
public static class TorchAPI
|
||||
{
|
||||
internal static ITorchBase Instance;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user