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>
<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>

View file

@ -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)