Rename API references

This commit is contained in:
Norbi Peti 2021-05-12 01:06:00 +02:00
parent 691accdeea
commit 056a581f60
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
2 changed files with 6 additions and 6 deletions

View file

@ -13,11 +13,11 @@
</ItemGroup>
<ItemGroup>
<Reference Include="GamecraftModdingAPI">
<HintPath>..\..\GamecraftModdingAPI\GamecraftModdingAPI\bin\Debug\net472\GamecraftModdingAPI.dll</HintPath>
<Reference Include="TechbloxModdingAPI">
<HintPath>..\..\ref\Plugins\TechbloxModdingAPI.dll</HintPath>
</Reference>
<Reference Include="IllusionPlugin">
<HintPath>..\..\GamecraftModdingAPI\GamecraftModdingAPI\bin\Debug\net472\IllusionPlugin.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\IllusionPlugin.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>

View file

@ -3,8 +3,8 @@ using System.IO;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using GamecraftModdingAPI.Commands;
using IllusionPlugin;
using TechbloxModdingAPI.Commands;
using UnityEngine;
namespace TBConsole
@ -18,7 +18,7 @@ namespace TBConsole
private UnityLogHandler _logHandler;
public override void OnApplicationStart()
{
GamecraftModdingAPI.Main.Init();
TechbloxModdingAPI.Main.Init();
_server = new WebServer(CommandReceived);
_server.Start();
}
@ -54,7 +54,7 @@ namespace TBConsole
public override void OnApplicationQuit()
{
_server.Stop();
GamecraftModdingAPI.Main.Shutdown();
TechbloxModdingAPI.Main.Shutdown();
}
public static void Main(string[] args)