Browse Source

Rename API references

tags/v1.0.0
NorbiPeti 3 years ago
parent
commit
056a581f60
Signed by: NorbiPeti <szatmari.norbert.peter@gmail.com> GPG Key ID: DBA4C4549A927E56
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      TBConsole/TBConsole.csproj
  2. +3
    -3
      TBConsole/TBConsoleMod.cs

+ 3
- 3
TBConsole/TBConsole.csproj 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>


+ 3
- 3
TBConsole/TBConsoleMod.cs 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)


Loading…
Cancel
Save