Rename API references
This commit is contained in:
parent
691accdeea
commit
056a581f60
2 changed files with 6 additions and 6 deletions
|
@ -13,11 +13,11 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="GamecraftModdingAPI">
|
<Reference Include="TechbloxModdingAPI">
|
||||||
<HintPath>..\..\GamecraftModdingAPI\GamecraftModdingAPI\bin\Debug\net472\GamecraftModdingAPI.dll</HintPath>
|
<HintPath>..\..\ref\Plugins\TechbloxModdingAPI.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="IllusionPlugin">
|
<Reference Include="IllusionPlugin">
|
||||||
<HintPath>..\..\GamecraftModdingAPI\GamecraftModdingAPI\bin\Debug\net472\IllusionPlugin.dll</HintPath>
|
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\IllusionPlugin.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
|
|
@ -3,8 +3,8 @@ using System.IO;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using GamecraftModdingAPI.Commands;
|
|
||||||
using IllusionPlugin;
|
using IllusionPlugin;
|
||||||
|
using TechbloxModdingAPI.Commands;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace TBConsole
|
namespace TBConsole
|
||||||
|
@ -18,7 +18,7 @@ namespace TBConsole
|
||||||
private UnityLogHandler _logHandler;
|
private UnityLogHandler _logHandler;
|
||||||
public override void OnApplicationStart()
|
public override void OnApplicationStart()
|
||||||
{
|
{
|
||||||
GamecraftModdingAPI.Main.Init();
|
TechbloxModdingAPI.Main.Init();
|
||||||
_server = new WebServer(CommandReceived);
|
_server = new WebServer(CommandReceived);
|
||||||
_server.Start();
|
_server.Start();
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ namespace TBConsole
|
||||||
public override void OnApplicationQuit()
|
public override void OnApplicationQuit()
|
||||||
{
|
{
|
||||||
_server.Stop();
|
_server.Stop();
|
||||||
GamecraftModdingAPI.Main.Shutdown();
|
TechbloxModdingAPI.Main.Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
|
|
Loading…
Reference in a new issue