Rename to TechbloxModdingAPI

This commit is contained in:
Norbi Peti 2021-05-02 01:08:25 +02:00
parent 807470e289
commit a6f52070ee
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
142 changed files with 334 additions and 378 deletions

View file

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GamecraftModdingAPI", "GamecraftModdingAPI\GamecraftModdingAPI.csproj", "{7FD5A7D8-4F3E-426A-B07D-7DC70442A4DF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TechbloxModdingAPI", "TechbloxModdingAPI\TechbloxModdingAPI.csproj", "{7FD5A7D8-4F3E-426A-B07D-7DC70442A4DF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View file

@ -1,8 +1,8 @@
using System;
using GamecraftModdingAPI.Tests;
using TechbloxModdingAPI.Tests;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
#if TEST
/// <summary>

View file

@ -3,11 +3,10 @@
using RobocraftX.GUI.MyGamesScreen;
using RobocraftX.GUI;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class AppEngine : IFactoryEngine
{

View file

@ -1,7 +1,7 @@
using System;
using System.Runtime.Serialization;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class AppException : GamecraftModdingAPIException
{

View file

@ -4,11 +4,10 @@ using HarmonyLib;
using RobocraftX.Services;
using UnityEngine;
using GamecraftModdingAPI.Utility;
using RobocraftX.Common;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
/// <summary>
/// The Gamecraft application that is running this code right now.
@ -111,13 +110,13 @@ namespace GamecraftModdingAPI.App
// this would have been so much simpler if this didn't involve a bunch of internal fields & classes
Type errorHandler = AccessTools.TypeByName("RobocraftX.Services.ErrorHandler");
Type errorHandle = AccessTools.TypeByName("RobocraftX.Services.ErrorHandle");
ErrorHandlerInstanceGetter = (Func<object>) AccessTools.Method("GamecraftModdingAPI.App.Client:GenInstanceGetter")
ErrorHandlerInstanceGetter = (Func<object>) AccessTools.Method("TechbloxModdingAPI.App.Client:GenInstanceGetter")
.MakeGenericMethod(errorHandler)
.Invoke(null, new object[0]);
EnqueueError = (Action<object, Error>) AccessTools.Method("GamecraftModdingAPI.App.Client:GenEnqueueError")
EnqueueError = (Action<object, Error>) AccessTools.Method("TechbloxModdingAPI.App.Client:GenEnqueueError")
.MakeGenericMethod(errorHandler, errorHandle)
.Invoke(null, new object[0]);
/*HandleErrorClosed = (Action<object>) AccessTools.Method("GamecraftModdingAPI.App.Client:GenHandlePopupClosed")
/*HandleErrorClosed = (Action<object>) AccessTools.Method("TechbloxModdingAPI.App.Client:GenHandlePopupClosed")
.MakeGenericMethod(errorHandler)
.Invoke(null, new object[0]);*/
// register engines

View file

@ -3,9 +3,9 @@ using HarmonyLib;
using RobocraftX.Services;
using GamecraftModdingAPI.Tests;
using TechbloxModdingAPI.Tests;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
#if TEST
/// <summary>

View file

@ -1,4 +1,4 @@
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public enum CurrentGameMode
{

View file

@ -7,12 +7,12 @@ using RobocraftX.GUI.MyGamesScreen;
using RobocraftX.StateSync;
using Svelto.ECS;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Tasks;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Tasks;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
/// <summary>
/// An in-game save.
@ -33,7 +33,7 @@ namespace GamecraftModdingAPI.App
private bool hasId = false;
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.App.Game"/> class.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.App.Game"/> class.
/// </summary>
/// <param name="id">Menu identifier.</param>
public Game(uint id) : this(new EGID(id, MyGamesScreenExclusiveGroups.MyGames))
@ -41,7 +41,7 @@ namespace GamecraftModdingAPI.App
}
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.App.Game"/> class.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.App.Game"/> class.
/// </summary>
/// <param name="id">Menu identifier.</param>
public Game(EGID id)
@ -54,7 +54,7 @@ namespace GamecraftModdingAPI.App
}
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.App.Game"/> class without id.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.App.Game"/> class without id.
/// This is assumed to be the current game.
/// </summary>
public Game()

View file

@ -4,11 +4,10 @@ using RobocraftX.Common;
using RobocraftX.StateSync;
using Svelto.ECS;
using Unity.Jobs;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class GameBuildSimEventEngine : IApiEngine, IUnorderedInitializeOnTimeRunningModeEntered, IUnorderedInitializeOnTimeStoppedModeEntered
{

View file

@ -9,13 +9,12 @@ using RobocraftX.SimulationModeState;
using Svelto.ECS;
using Svelto.Tasks;
using Svelto.Tasks.Lean;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
using RobocraftX.Blocks;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class GameGameEngine : IApiEngine
{

View file

@ -7,12 +7,11 @@ using RobocraftX.GUI;
using RobocraftX.GUI.MyGamesScreen;
using Svelto.ECS;
using Svelto.ECS.Experimental;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
using Svelto.DataStructures;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class GameMenuEngine : IFactoryEngine
{

View file

@ -6,7 +6,7 @@ using RobocraftX.StateSync;
using HarmonyLib;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
[HarmonyPatch]
class StateSyncRegPatch

View file

@ -3,7 +3,7 @@ using HarmonyLib;
using RobocraftX.Services;
namespace GamecraftModdingAPI.App
namespace TechbloxModdingAPI.App
{
public class DualChoicePrompt : MultiChoiceError
{

View file

@ -10,16 +10,15 @@ using RobocraftX.Common;
using RobocraftX.Blocks;
using Unity.Mathematics;
using Gamecraft.Blocks.GUI;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Utility;
using RobocraftX.Rendering.GPUI;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
/// <summary>
/// A single (perhaps scaled) block. Properties may return default values if the block is removed and then setting them is ignored.
/// For specific block type operations, use the specialised block classes in the GamecraftModdingAPI.Blocks namespace.
/// For specific block type operations, use the specialised block classes in the TechbloxModdingAPI.Blocks namespace.
/// </summary>
public class Block : IEquatable<Block>, IEquatable<EGID>
{

View file

@ -5,11 +5,10 @@ using System.Collections.Generic;
using Gamecraft.Blocks.BlockGroups;
using Unity.Mathematics;
using UnityEngine;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
/// <summary>
/// A group of blocks that can be selected together. The placed version of blueprints. Dispose after usage.

View file

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Reflection;
using Gamecraft.Wires;
using GamecraftModdingAPI.Engines;
using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Character;
@ -10,8 +9,9 @@ using RobocraftX.Common;
using RobocraftX.Common.Players;
using Svelto.DataStructures;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class BlockCloneEngine : IApiEngine
{

View file

@ -1,7 +1,7 @@
using System;
using Unity.Mathematics;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public struct BlockColor
{

View file

@ -15,10 +15,9 @@ using Svelto.DataStructures;
using Svelto.ECS;
using Svelto.ECS.Hybrid;
using Unity.Mathematics;
using TechbloxModdingAPI.Engines;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Engine for executing general block actions

View file

@ -5,7 +5,7 @@ using Svelto.DataStructures;
using Svelto.ECS;
using Svelto.ECS.Internal;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public partial class BlockEngine
{

View file

@ -2,12 +2,11 @@ using System;
using RobocraftX.Common;
using Svelto.ECS;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
using RobocraftX.Blocks;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class BlockEventsEngine : IReactionaryEngine<BlockTagEntityStruct>
{

View file

@ -1,8 +1,8 @@
using System;
using GamecraftModdingAPI;
using TechbloxModdingAPI;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class BlockException : GamecraftModdingAPIException
{

View file

@ -1,4 +1,4 @@
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Possible block types

View file

@ -4,7 +4,7 @@ using RobocraftX.Common;
using HarmonyLib;
using Svelto.DataStructures;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// ExclusiveGroups and IDs used with blocks

View file

@ -1,4 +1,4 @@
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public enum BlockMaterial : byte
{

View file

@ -3,11 +3,11 @@
using Gamecraft.Wires;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Tests;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Tests;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
#if TEST
/// <summary>
@ -31,7 +31,7 @@ namespace GamecraftModdingAPI.Blocks
//Assert.Equal(newBlock.Exists, true, "Newly placed block does not exist, possibly because Sync() skipped/missed/failed.", "Newly placed block exists, Sync() successful.");
}
[APITestCase(TestType.EditMode)]
/*[APITestCase(TestType.EditMode)]
public static void TestTextBlock()
{
TextBlock textBlock = null; // Note: the assignment operation is a lambda, which slightly confuses the compiler
@ -74,7 +74,7 @@ namespace GamecraftModdingAPI.Blocks
if (!Assert.CloseTo(b.MaximumAngle, 180f, $"Servo.MaximumAngle {b.MaximumAngle} does not equal default value, possibly because it failed silently.", "Servo.MaximumAngle is close enough to default.")) return;
if (!Assert.CloseTo(b.MinimumAngle, -180f, $"Servo.MinimumAngle {b.MinimumAngle} does not equal default value, possibly because it failed silently.", "Servo.MinimumAngle is close enough to default.")) return;
if (!Assert.CloseTo(b.MaximumForce, 60f, $"Servo.MaximumForce {b.MaximumForce} does not equal default value, possibly because it failed silently.", "Servo.MaximumForce is close enough to default.")) return;
}
}*/
[APITestCase(TestType.EditMode)]
public static void TestDampedSpring()
@ -88,7 +88,7 @@ namespace GamecraftModdingAPI.Blocks
if (!Assert.CloseTo(b.MaxExtension, 0.3f, $"DampedSpring.MaxExtension {b.MaxExtension} does not equal default value, possibly because it failed silently.", "DampedSpring.MaxExtension is close enough to default.")) return;
}
[APITestCase(TestType.Game)]
/*[APITestCase(TestType.Game)]
public static void TestMusicBlock1()
{
Block newBlock = Block.PlaceNew(BlockIDs.MusicBlock, Unity.Mathematics.float3.zero + 2);
@ -131,14 +131,14 @@ namespace GamecraftModdingAPI.Blocks
Wire newWire = null;
if (!Assert.Errorless(() => { newWire = b.Connect(0, target, 0);})) return;
if (!Assert.NotNull(newWire, "SignalingBlock.Connect(...) returned null, possible because it failed silently.", "SignalingBlock.Connect(...) returned a non-null value.")) return;
}
}*/
[APITestCase(TestType.EditMode)]
/*[APITestCase(TestType.EditMode)]
public static void TestSpecialiseError()
{
Block newBlock = Block.PlaceNew(BlockIDs.Bench, new float3(1, 1, 1));
if (Assert.Errorful<BlockTypeException>(() => newBlock.Specialise<MusicBlock>(), "Block.Specialise<MusicBlock>() was expected to error on a bench block.", "Block.Specialise<MusicBlock>() errored as expected for a bench block.")) return;
}
}*/
}
#endif
}

View file

@ -3,8 +3,6 @@ using System.Collections.Generic;
using System.Reflection;
using Gamecraft.Blocks.BlockGroups;
using Gamecraft.GUI.Blueprints;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Common;
@ -15,12 +13,14 @@ using Svelto.ECS;
using Svelto.ECS.DataStructures;
using Svelto.ECS.EntityStructs;
using Svelto.ECS.Serialization;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine;
using Allocator = Svelto.Common.Allocator;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class BlueprintEngine : IFactoryEngine
{

View file

@ -17,11 +17,10 @@ using Svelto.Tasks.ExtraLean;
using UnityEngine;
using UnityEngine.AddressableAssets;
using Material = UnityEngine.Material;
using GamecraftModdingAPI.Utility;
using ServiceLayer;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Experimental support for adding custom blocks to the game.

View file

@ -1,7 +1,7 @@
using System;
using DataLoader;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
[AttributeUsage(AttributeTargets.Class)]
public class CustomBlockAttribute : Attribute

View file

@ -1,14 +1,14 @@
using System;
using System.Collections.Generic;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Persistence;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Persistence;
using TechbloxModdingAPI.Utility;
using RobocraftX.Common;
using Svelto.ECS;
using Svelto.ECS.Experimental;
using Svelto.ECS.Serialization;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/*public class CustomBlockEngine : IFactoryEngine
{

View file

@ -2,7 +2,7 @@ using RobocraftX.Blocks;
using RobocraftX.Common;
using Svelto.ECS;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class DampedSpring : Block
{

View file

@ -1,7 +1,7 @@
using RobocraftX.Common;
using Svelto.ECS;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class LogicGate : SignalingBlock
{

View file

@ -5,9 +5,9 @@ using RobocraftX.Common;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class Motor : SignalingBlock
{

View file

@ -4,11 +4,10 @@ using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Transforms;
using Unity.Mathematics;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Engine which executes block movement actions

View file

@ -8,11 +8,11 @@ using RobocraftX.Blocks;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Tests;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Tests;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class MusicBlock : SignalingBlock
{

View file

@ -2,7 +2,7 @@
using RobocraftX.Common;
using Svelto.ECS;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class ObjectIdentifier : Block
{

View file

@ -4,10 +4,10 @@ using RobocraftX.Blocks;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
using RobocraftX.Common;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class Piston : SignalingBlock
{

View file

@ -13,13 +13,12 @@ using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Mathematics;
using UnityEngine;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Players;
using TechbloxModdingAPI.Players;
using RobocraftX.Rendering.GPUI;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Engine which executes block placement actions

View file

@ -4,11 +4,10 @@ using HarmonyLib;
using RobocraftX.Blocks;
using RobocraftX.Common;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class RemovalEngine : IApiEngine
{

View file

@ -4,11 +4,10 @@ using Svelto.ECS;
using Svelto.ECS.EntityStructs;
using Unity.Mathematics;
using UnityEngine;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Engine which executes block movement actions

View file

@ -5,11 +5,10 @@ using RobocraftX.Common;
using RobocraftX.UECS;
using Svelto.ECS;
using Unity.Entities;
using TechbloxModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class ScalingEngine : IApiEngine
{

View file

@ -5,9 +5,9 @@ using RobocraftX.Common;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class Servo : SignalingBlock
{

View file

@ -6,7 +6,7 @@ using RobocraftX.Blocks;
using RobocraftX.Common;
using Svelto.ECS;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class SfxBlock : SignalingBlock
{

View file

@ -2,10 +2,9 @@
using Svelto.ECS;
using Svelto.DataStructures;
using Gamecraft.Wires;
using TechbloxModdingAPI.Engines;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Engine which executes signal actions

View file

@ -4,10 +4,10 @@ using Gamecraft.Wires;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
/// <summary>
/// Common implementation for blocks that support wiring.

View file

@ -6,10 +6,10 @@ using Gamecraft.CharacterVulnerability;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class SpawnPoint : Block
{

View file

@ -5,10 +5,10 @@ using RobocraftX.Common;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class TextBlock : SignalingBlock
{

View file

@ -6,10 +6,10 @@ using Gamecraft.Blocks.TimerBlock;
using Svelto.ECS;
using Unity.Mathematics;
using GamecraftModdingAPI;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class Timer : SignalingBlock
{

View file

@ -4,9 +4,9 @@ using Gamecraft.Wires;
using Svelto.ECS;
using Svelto.ECS.Experimental;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Blocks
namespace TechbloxModdingAPI.Blocks
{
public class Wire
{

View file

@ -2,7 +2,7 @@
using Unity.Mathematics;
using UnityEngine;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
/// <summary>
/// Represents a blueprint in the inventory. When placed it becomes a block group.

View file

@ -2,7 +2,7 @@
using RobocraftX.Common;
using Svelto.ECS;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
/// <summary>
/// Represnts a cluster of blocks in time running mode, meaning blocks that are connected either directly or via joints.

View file

@ -1,10 +1,9 @@
using System;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// Custom Command builder.

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// UNIMPLEMENTED!

View file

@ -1,5 +1,5 @@
using System;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
public class CommandException : GamecraftModdingAPIException
{

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// Keeps track of custom commands

View file

@ -8,7 +8,7 @@ using RobocraftX.CR.MainGame;
using RobocraftX.Multiplayer;
using RobocraftX.StateSync;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// Patch of RobocraftX.CR.MainGame.MainGameCompositionRoot.DeterministicCompose<T>()

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using uREPL;
using RobocraftX.CommandLine.Custom;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// Convenient methods for registering commands to Gamecraft.

View file

@ -2,7 +2,7 @@
using uREPL;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
public static class ExistingCommands
{

View file

@ -6,10 +6,10 @@ using System.Threading.Tasks;
using Svelto.ECS;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using TechbloxModdingAPI.Engines;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// Engine interface to handle command operations.

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// A simple implementation of ICustomCommandEngine sufficient for most commands.
@ -37,13 +36,13 @@ namespace GamecraftModdingAPI.Commands
public void Dispose()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Unregister(this.Name);
}
public void Ready()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Register(this.Name, this.InvokeCatchError, this.Description);
}

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// A simple implementation of ICustomCommandEngine sufficient for most commands.
@ -28,13 +27,13 @@ namespace GamecraftModdingAPI.Commands
public void Dispose()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Unregister(this.Name);
}
public void Ready()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Register<A>(this.Name, this.InvokeCatchError, this.Description);
}

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// A simple implementation of ICustomCommandEngine sufficient for most commands.
@ -28,13 +27,13 @@ namespace GamecraftModdingAPI.Commands
public void Dispose()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Unregister(this.Name);
}
public void Ready()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Register<A,B>(this.Name, this.InvokeCatchError, this.Description);
}

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Commands
namespace TechbloxModdingAPI.Commands
{
/// <summary>
/// A simple implementation of ICustomCommandEngine sufficient for most commands.
@ -28,13 +27,13 @@ namespace GamecraftModdingAPI.Commands
public void Dispose()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Unregistering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Unregister(this.Name);
}
public void Ready()
{
GamecraftModdingAPI.Utility.Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
Logging.MetaDebugLog($"Registering SimpleCustomCommandEngine {this.Name}");
CommandRegistrationHelper.Register<A,B,C>(this.Name, this.InvokeCatchError, this.Description);
}

View file

@ -6,10 +6,10 @@ using System.Threading.Tasks;
using Svelto.ECS;
namespace GamecraftModdingAPI.Engines
namespace TechbloxModdingAPI.Engines
{
/// <summary>
/// Base engine interface used by all GamecraftModdingAPI engines
/// Base engine interface used by all TechbloxModdingAPI engines
/// </summary>
public interface IApiEngine : IEngine, IQueryingEntitiesEngine, IDisposable
{

View file

@ -6,9 +6,9 @@ using System.Threading.Tasks;
using Svelto.ECS;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Engines
namespace TechbloxModdingAPI.Engines
{
/// <summary>
/// Engine interface to create a ModEventEntityStruct in entitiesDB when Emit() is called.

View file

@ -7,9 +7,9 @@ using System.Threading.Tasks;
using Svelto.ECS;
using Svelto.ECS.Internal;
using GamecraftModdingAPI.Events;
using TechbloxModdingAPI.Events;
namespace GamecraftModdingAPI.Engines
namespace TechbloxModdingAPI.Engines
{
/// <summary>
/// Engine interface to handle ModEventEntityStruct events emitted by IEventEmitterEngines.

View file

@ -10,9 +10,9 @@ using Svelto.ECS;
using RobocraftX.Common;
using RobocraftX.StateSync;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.StateSync.DeterministicStepCompositionRoot.ComposeEnginesGroups(...)

View file

@ -2,7 +2,7 @@
using Svelto.ECS;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
[Obsolete]
public class EmitterBuilder

View file

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Svelto.ECS;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Convenient factories for mod event engines

View file

@ -1,5 +1,5 @@
using System;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
public class EventException : GamecraftModdingAPIException
{

View file

@ -5,16 +5,15 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Keeps track of event handlers and emitters.
/// This is used to add, remove and get API event handlers and emitters.
/// </summary>
[Obsolete("This will be removed in an upcoming update. Use the new C# event architecture from GamecraftModdingAPI.App")]
[Obsolete("This will be removed in an upcoming update. Use the new C# event architecture from TechbloxModdingAPI.App")]
public static class EventManager
{
private static Dictionary<string, IEventEmitterEngine> _eventEmitters = new Dictionary<string, IEventEmitterEngine>();

View file

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Built-in event types.

View file

@ -9,10 +9,9 @@ using HarmonyLib;
using RobocraftX.CR.MainGame;
using Svelto.ECS;
using Unity.Entities;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.FullGameCompositionRoot.ActivateGame()

View file

@ -7,9 +7,9 @@ using System.Threading.Tasks;
using HarmonyLib;
using RobocraftX;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.FullGameCompositionRoot.ReloadGame()

View file

@ -4,10 +4,9 @@ using Unity.Jobs;
using RobocraftX.SimulationModeState;
using RobocraftX.StateSync;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Event emitter engine for switching to to build mode.

View file

@ -4,10 +4,9 @@ using Unity.Jobs;
using RobocraftX.SimulationModeState;
using RobocraftX.StateSync;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Event emitter engine for switching to simulation mode.

View file

@ -10,9 +10,9 @@ using RobocraftX;
using RobocraftX.CR.MainGame;
using Svelto.ECS;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.FullGameCompositionRoot.ActivateGame()

View file

@ -2,7 +2,7 @@
using Svelto.ECS;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
[Obsolete]
public class HandlerBuilder

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Engines;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Engine interface to create a ModEventEntityStruct in entitiesDB when a specific event occurs.

View file

@ -6,10 +6,9 @@ using System.Threading.Tasks;
using Svelto.ECS;
using Svelto.ECS.Internal;
using TechbloxModdingAPI.Engines;
using GamecraftModdingAPI.Engines;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Engine interface to handle ModEventEntityStruct events emitted by IEventEmitterEngines.

View file

@ -7,10 +7,9 @@ using System.Threading.Tasks;
using HarmonyLib;
using RobocraftX;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.FullGameCompositionRoot.ActivateMenu()

View file

@ -7,10 +7,9 @@ using System.Threading.Tasks;
using HarmonyLib;
using RobocraftX;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// Patch of RobocraftX.FullGameCompositionRoot.SwitchToMenu()

View file

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Svelto.ECS;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// EntityDescriptor for creating ModEventEntityStructs

View file

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using Svelto.ECS;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// The event entity struct

View file

@ -5,9 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// A simple implementation of IEventEmitterEngine sufficient for most uses

View file

@ -5,10 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Events
namespace TechbloxModdingAPI.Events
{
/// <summary>
/// A simple implementation of IEventHandlerEngine sufficient for most uses

View file

@ -1,13 +1,12 @@
using GamecraftModdingAPI.Players;
using GamecraftModdingAPI.Utility;
using RobocraftX.Physics;
using Svelto.ECS.EntityStructs;
using Techblox.FlyCam;
using TechbloxModdingAPI.Players;
using TechbloxModdingAPI.Utility;
using Unity.Mathematics;
using UnityEngine;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
public class FlyCam
{

View file

@ -1,7 +1,7 @@
using System;
using System.Runtime.Serialization;
namespace GamecraftModdingAPI
namespace TechbloxModdingAPI
{
public class GamecraftModdingAPIException : Exception
{

View file

@ -3,10 +3,9 @@
using RobocraftX.Common;
using RobocraftX.Common.Input;
using Svelto.ECS;
using TechbloxModdingAPI.Utility;
using GamecraftModdingAPI.Utility;
namespace GamecraftModdingAPI.Input
namespace TechbloxModdingAPI.Input
{
public static class FakeInput
{

View file

@ -5,10 +5,10 @@ using RobocraftX.Common.Input;
using RobocraftX.Players;
using Svelto.ECS;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using TechbloxModdingAPI.Utility;
using TechbloxModdingAPI.Engines;
namespace GamecraftModdingAPI.Input
namespace TechbloxModdingAPI.Input
{
public class FakeInputEngine : IApiEngine
{

View file

@ -2,7 +2,7 @@ using System;
using Unity.Mathematics;
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// A clickable button.

View file

@ -3,7 +3,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
using HarmonyLib;
using Svelto.Tasks;
using Svelto.Tasks.Lean;
@ -11,7 +11,7 @@ using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// Convenient IMGUI values.

View file

@ -1,9 +1,9 @@
using System;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.Utility;
using Svelto.DataStructures;
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// A group of elements.
@ -80,7 +80,7 @@ namespace GamecraftModdingAPI.Interface.IMGUI
}
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.Interface.IMGUI.Group"/> class.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.Interface.IMGUI.Group"/> class.
/// </summary>
/// <param name="box">The rectangular area to use in the window.</param>
/// <param name="name">Name of the group.</param>

View file

@ -1,8 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using GamecraftModdingAPI.App;
using GamecraftModdingAPI.Utility;
using TechbloxModdingAPI.App;
using TechbloxModdingAPI.Utility;
using Rewired.Internal;
using Svelto.DataStructures;
using Svelto.Tasks;
@ -10,7 +10,7 @@ using Svelto.Tasks.ExtraLean;
using Svelto.Tasks.ExtraLean.Unity;
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// Keeps track of UIElement instances.

View file

@ -1,6 +1,6 @@
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// An image.
@ -44,7 +44,7 @@ namespace GamecraftModdingAPI.Interface.IMGUI
public bool Enabled { set; get; } = true;
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.Interface.IMGUI.Image"/> class with automatic layout.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.Interface.IMGUI.Image"/> class with automatic layout.
/// </summary>
/// <param name="texture">Image to display.</param>
/// <param name="name">The element's name.</param>
@ -72,7 +72,7 @@ namespace GamecraftModdingAPI.Interface.IMGUI
}
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.Interface.IMGUI.Image"/> class.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.Interface.IMGUI.Image"/> class.
/// </summary>
/// <param name="box">Rectangular area for the image.</param>
/// <param name="texture">Image to display.</param>

View file

@ -1,6 +1,6 @@
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// A simple text label.
@ -43,7 +43,7 @@ namespace GamecraftModdingAPI.Interface.IMGUI
public bool Enabled { set; get; } = true;
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.Interface.IMGUI.Label"/> class with automatic layout.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.Interface.IMGUI.Label"/> class with automatic layout.
/// </summary>
/// <param name="initialText">Initial string to display on the label.</param>
/// <param name="name">The element's name.</param>
@ -63,7 +63,7 @@ namespace GamecraftModdingAPI.Interface.IMGUI
}
/// <summary>
/// Initializes a new instance of the <see cref="T:GamecraftModdingAPI.Interface.IMGUI.Label"/>.
/// Initializes a new instance of the <see cref="T:TechbloxModdingAPI.Interface.IMGUI.Label"/>.
/// </summary>
/// <param name="box">Rectangular area for the label.</param>
/// <param name="initialText">Initial string to display on the label.</param>

View file

@ -1,7 +1,7 @@
using System;
using UnityEngine;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// A text input field.

View file

@ -1,6 +1,6 @@
using System;
namespace GamecraftModdingAPI.Interface.IMGUI
namespace TechbloxModdingAPI.Interface.IMGUI
{
/// <summary>
/// GUI Element like a text field, button or picture.

View file

@ -2,12 +2,11 @@
using RobocraftX.Common.Input;
using RobocraftX.Multiplayer.Input;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Utility;
using HarmonyLib;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Utility;
namespace GamecraftModdingAPI.Inventory
namespace TechbloxModdingAPI.Inventory
{
public static class Hotbar
{

View file

@ -8,13 +8,13 @@ using RobocraftX.Common.Input;
using RobocraftX.Common.Players;
using Svelto.ECS;
using GamecraftModdingAPI.Blocks;
using GamecraftModdingAPI.Utility;
using GamecraftModdingAPI.Engines;
using TechbloxModdingAPI.Blocks;
using TechbloxModdingAPI.Utility;
using RobocraftX.Blocks;
using Techblox.FlyCam;
using TechbloxModdingAPI.Engines;
namespace GamecraftModdingAPI.Inventory
namespace TechbloxModdingAPI.Inventory
{
public class HotbarEngine : IApiEngine
{

View file

@ -4,9 +4,9 @@ using System.Reflection;
using Svelto.ECS;
using HarmonyLib;
using GamecraftModdingAPI.Blocks;
using TechbloxModdingAPI.Blocks;
namespace GamecraftModdingAPI.Inventory
namespace TechbloxModdingAPI.Inventory
{
[HarmonyPatch]
public class HotbarSlotSelectionHandlerEnginePatch

Some files were not shown because too many files have changed in this diff Show more