Browse Source

Update to Techblox 2022.04.01.10.32

- Updated project to use .NET Standard 2.1, which is what the game uses
- Updated CodeGenerator to use .NET 6
tags/v2.3.0
NorbiPeti 2 years ago
parent
commit
23abe47c72
9 changed files with 773 additions and 133 deletions
  1. +583
    -75
      CodeGenerator/CodeGenerator.csproj
  2. +0
    -35
      CodeGenerator/Properties/AssemblyInfo.cs
  3. +26
    -4
      TechbloxModdingAPI/Blocks/BlockIDs.cs
  4. +1
    -0
      TechbloxModdingAPI/Blocks/BlockMaterial.cs
  5. +1
    -3
      TechbloxModdingAPI/Blocks/BlockTests.cs
  6. +3
    -3
      TechbloxModdingAPI/Blocks/Engines/MovementEngine.cs
  7. +3
    -3
      TechbloxModdingAPI/Blocks/Engines/RotationEngine.cs
  8. +154
    -8
      TechbloxModdingAPI/TechbloxModdingAPI.csproj
  9. +2
    -2
      TechbloxModdingAPI/Tests/TechbloxModdingAPIPluginTest.cs

+ 583
- 75
CodeGenerator/CodeGenerator.csproj View File

@@ -1,51 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0EBB6400-95A7-4A3D-B2ED-BF31E364CC10}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CodeGenerator</RootNamespace>
<AssemblyName>CodeGenerator</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFramework>net6.0</TargetFramework>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Version>2.2.0</Version>
<Authors>Exmods</Authors>
<PackageLicenseExpression>GNU General Public Licence 3+</PackageLicenseExpression>
<PackageProjectUrl>https://git.exmods.org/modtainers/GamecraftModdingAPI</PackageProjectUrl>
<NeutralLanguage>en-CA</NeutralLanguage>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Test|AnyCPU' ">
<DefineConstants>DEBUG;TEST;TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Lib.Harmony.2.2.0\lib\net472\0Harmony.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<PackageReference Include="Lib.Harmony" Version="2.0.4" />
<PackageReference Include="System.CodeDom" Version="7.0.0-preview.2.22152.2" />
</ItemGroup>
<ItemGroup>
<Compile Include="BlockClassGenerator.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<ProjectReference Include="..\TechbloxModdingAPI\TechbloxModdingAPI.csproj" />
</ItemGroup>




<!--Start Dependencies-->
<ItemGroup>
<Reference Include="IllusionInjector">
<HintPath>..\ref\Techblox_Data\Managed\IllusionInjector.dll</HintPath>
@@ -55,6 +38,10 @@
<HintPath>..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
</Reference>
<Reference Include="Accessibility">
<HintPath>..\ref\Techblox_Data\Managed\Accessibility.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Accessibility.dll</HintPath>
</Reference>
<Reference Include="Analytics">
<HintPath>..\ref\Techblox_Data\Managed\Analytics.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Analytics.dll</HintPath>
@@ -67,6 +54,14 @@
<HintPath>..\ref\Techblox_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="AWSSDK.Core">
<HintPath>..\ref\Techblox_Data\Managed\AWSSDK.Core.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\AWSSDK.Core.dll</HintPath>
</Reference>
<Reference Include="AWSSDK.GameLift">
<HintPath>..\ref\Techblox_Data\Managed\AWSSDK.GameLift.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\AWSSDK.GameLift.dll</HintPath>
</Reference>
<Reference Include="BevelEffect">
<HintPath>..\ref\Techblox_Data\Managed\BevelEffect.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\BevelEffect.dll</HintPath>
@@ -91,6 +86,10 @@
<HintPath>..\ref\Techblox_Data\Managed\DDNA.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\DDNA.dll</HintPath>
</Reference>
<Reference Include="EasyButtons">
<HintPath>..\ref\Techblox_Data\Managed\EasyButtons.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\EasyButtons.dll</HintPath>
</Reference>
<Reference Include="EOSSDK">
<HintPath>..\ref\Techblox_Data\Managed\EOSSDK.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\EOSSDK.dll</HintPath>
@@ -103,6 +102,10 @@
<HintPath>..\ref\Techblox_Data\Managed\FMODUnityResonance.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\FMODUnityResonance.dll</HintPath>
</Reference>
<Reference Include="FMODUnityWrapperClient">
<HintPath>..\ref\Techblox_Data\Managed\FMODUnityWrapperClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\FMODUnityWrapperClient.dll</HintPath>
</Reference>
<Reference Include="FullGame">
<HintPath>..\ref\Techblox_Data\Managed\FullGame.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\FullGame.dll</HintPath>
@@ -131,10 +134,6 @@
<HintPath>..\ref\Techblox_Data\Managed\Gamecraft.Blocks.GenericPhysicsBlocks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Gamecraft.Blocks.GenericPhysicsBlocks.dll</HintPath>
</Reference>
<Reference Include="Gamecraft.Blocks.LightBlock">
<HintPath>..\ref\Techblox_Data\Managed\Gamecraft.Blocks.LightBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Gamecraft.Blocks.LightBlock.dll</HintPath>
</Reference>
<Reference Include="Gamecraft.Blocks.LogicBlock">
<HintPath>..\ref\Techblox_Data\Managed\Gamecraft.Blocks.LogicBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Gamecraft.Blocks.LogicBlock.dll</HintPath>
@@ -331,6 +330,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Gamecraft.Wires.Mockup.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Gamecraft.Wires.Mockup.dll</HintPath>
</Reference>
<Reference Include="GameLiftServerSDKNet45">
<HintPath>..\ref\Techblox_Data\Managed\GameLiftServerSDKNet45.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\GameLiftServerSDKNet45.dll</HintPath>
</Reference>
<Reference Include="GameState">
<HintPath>..\ref\Techblox_Data\Managed\GameState.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\GameState.dll</HintPath>
@@ -339,6 +342,10 @@
<HintPath>..\ref\Techblox_Data\Managed\GhostShark.Outline.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\GhostShark.Outline.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf">
<HintPath>..\ref\Techblox_Data\Managed\Google.Protobuf.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="GPUInstancer.CrowdAnimations">
<HintPath>..\ref\Techblox_Data\Managed\GPUInstancer.CrowdAnimations.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\GPUInstancer.CrowdAnimations.dll</HintPath>
@@ -355,17 +362,33 @@
<HintPath>..\ref\Techblox_Data\Managed\Havok.Physics.Hybrid.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Havok.Physics.Hybrid.dll</HintPath>
</Reference>
<Reference Include="IllusionInjector">
<HintPath>..\ref\Techblox_Data\Managed\IllusionInjector.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\IllusionInjector.dll</HintPath>
</Reference>
<Reference Include="IllusionPlugin">
<HintPath>..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
</Reference>
<Reference Include="JWT">
<HintPath>..\ref\Techblox_Data\Managed\JWT.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\JWT.dll</HintPath>
</Reference>
<Reference Include="LiteNetLib">
<HintPath>..\ref\Techblox_Data\Managed\LiteNetLib.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\LiteNetLib.dll</HintPath>
</Reference>
<Reference Include="log4net">
<HintPath>..\ref\Techblox_Data\Managed\log4net.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\log4net.dll</HintPath>
</Reference>
<Reference Include="LZ4">
<HintPath>..\ref\Techblox_Data\Managed\LZ4.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\LZ4.dll</HintPath>
</Reference>
<Reference Include="mscorlib">
<HintPath>..\ref\Techblox_Data\Managed\mscorlib.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\mscorlib.dll</HintPath>
<Reference Include="Monobehaviours">
<HintPath>..\ref\Techblox_Data\Managed\Monobehaviours.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Monobehaviours.dll</HintPath>
</Reference>
<Reference Include="MultiplayerNetworking">
<HintPath>..\ref\Techblox_Data\Managed\MultiplayerNetworking.dll</HintPath>
@@ -383,6 +406,14 @@
<HintPath>..\ref\Techblox_Data\Managed\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Novell.Directory.Ldap">
<HintPath>..\ref\Techblox_Data\Managed\Novell.Directory.Ldap.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Novell.Directory.Ldap.dll</HintPath>
</Reference>
<Reference Include="Prometheus.NetStandard">
<HintPath>..\ref\Techblox_Data\Managed\Prometheus.NetStandard.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Prometheus.NetStandard.dll</HintPath>
</Reference>
<Reference Include="RCX.ScreenshotTaker">
<HintPath>..\ref\Techblox_Data\Managed\RCX.ScreenshotTaker.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RCX.ScreenshotTaker.dll</HintPath>
@@ -395,6 +426,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Rewired_Windows.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Rewired_Windows.dll</HintPath>
</Reference>
<Reference Include="RichFX">
<HintPath>..\ref\Techblox_Data\Managed\RichFX.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RichFX.dll</HintPath>
</Reference>
<Reference Include="RobocraftECS">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftECS.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftECS.dll</HintPath>
@@ -423,6 +458,10 @@
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Building.Jobs.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Building.Jobs.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.Character.Audio">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Character.Audio.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Character.Audio.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.Character">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Character.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Character.dll</HintPath>
@@ -495,6 +534,14 @@
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.MainGame.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.MainGame.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.MainGameMock">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.MainGameMock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.MainGameMock.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.MainSimulation.Audio">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.MainSimulation.Audio.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.MainSimulation.Audio.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.MainSimulation">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.MainSimulation.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.MainSimulation.dll</HintPath>
@@ -543,10 +590,6 @@
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Player.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Player.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.Rendering">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Rendering.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Rendering.dll</HintPath>
</Reference>
<Reference Include="RobocraftX.Rendering.Mock">
<HintPath>..\ref\Techblox_Data\Managed\RobocraftX.Rendering.Mock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocraftX.Rendering.Mock.dll</HintPath>
@@ -583,6 +626,18 @@
<HintPath>..\ref\Techblox_Data\Managed\RobocratX.SimulationMockCompositionRoot.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocratX.SimulationMockCompositionRoot.dll</HintPath>
</Reference>
<Reference Include="Serilog">
<HintPath>..\ref\Techblox_Data\Managed\Serilog.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Serilog.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.Grafana.Loki">
<HintPath>..\ref\Techblox_Data\Managed\Serilog.Sinks.Grafana.Loki.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Serilog.Sinks.Grafana.Loki.dll</HintPath>
</Reference>
<Reference Include="ShaderVariantsGenerationTool">
<HintPath>..\ref\Techblox_Data\Managed\ShaderVariantsGenerationTool.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\ShaderVariantsGenerationTool.dll</HintPath>
</Reference>
<Reference Include="SpecializedDescriptors">
<HintPath>..\ref\Techblox_Data\Managed\SpecializedDescriptors.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\SpecializedDescriptors.dll</HintPath>
@@ -611,6 +666,34 @@
<HintPath>..\ref\Techblox_Data\Managed\Svelto.Tasks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Svelto.Tasks.dll</HintPath>
</Reference>
<Reference Include="Techblox.AdditionalParts">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.AdditionalParts.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.AdditionalParts.dll</HintPath>
</Reference>
<Reference Include="Techblox.Anticheat.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Anticheat.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Anticheat.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Anticheat.Common">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Anticheat.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Anticheat.Common.dll</HintPath>
</Reference>
<Reference Include="Techblox.Anticheat.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Anticheat.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Anticheat.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.AtmosphereBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.AtmosphereBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.AtmosphereBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.AudioBlocks">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.AudioBlocks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.AudioBlocks.dll</HintPath>
</Reference>
<Reference Include="Techblox.AudioBlocksClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.AudioBlocksClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.AudioBlocksClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.AutoForward">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.AutoForward.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.AutoForward.dll</HintPath>
@@ -619,6 +702,34 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Backend.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Backend.dll</HintPath>
</Reference>
<Reference Include="Techblox.BitBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.BitBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.BitBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.BlockColours">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.BlockColours.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.BlockColours.dll</HintPath>
</Reference>
<Reference Include="Techblox.BlockLabels">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.BlockLabels.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.BlockLabels.dll</HintPath>
</Reference>
<Reference Include="Techblox.BlockLabelsServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.BlockLabelsServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.BlockLabelsServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.Blocks.Connections">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.Connections.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.Connections.dll</HintPath>
</Reference>
<Reference Include="Techblox.Blocks.Debug.Client.Monobehaviours">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.Debug.Client.Monobehaviours.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.Debug.Client.Monobehaviours.dll</HintPath>
</Reference>
<Reference Include="Techblox.Blocks.LightBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.LightBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.LightBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.Building.Rules">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Building.Rules.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Building.Rules.dll</HintPath>
@@ -631,10 +742,54 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Camera.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Camera.dll</HintPath>
</Reference>
<Reference Include="Techblox.CentreHUDBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CentreHUDBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CentreHUDBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.CentreHUDGUI">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CentreHUDGUI.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CentreHUDGUI.dll</HintPath>
</Reference>
<Reference Include="Techblox.CheckpointBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CheckpointBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CheckpointBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.CheckpointBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CheckpointBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CheckpointBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.Common.Audio">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Common.Audio.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Common.Audio.dll</HintPath>
</Reference>
<Reference Include="Techblox.ConstantBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ConstantBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ConstantBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ConstantBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ConstantBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ConstantBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.ContextSensitiveTextHint">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ContextSensitiveTextHint.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ContextSensitiveTextHint.dll</HintPath>
</Reference>
<Reference Include="Techblox.CounterBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CounterBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CounterBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.CounterBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CounterBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CounterBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.DistanceSensorBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.DistanceSensorBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.DistanceSensorBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.ECSResourceManagers">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ECSResourceManagers.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ECSResourceManagers.dll</HintPath>
</Reference>
<Reference Include="Techblox.EngineBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.EngineBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.EngineBlock.dll</HintPath>
@@ -643,6 +798,62 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Environment.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Environment.dll</HintPath>
</Reference>
<Reference Include="Techblox.EnvironmentBlocks.BuildingEnvironment">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.BuildingEnvironment.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.BuildingEnvironment.dll</HintPath>
</Reference>
<Reference Include="Techblox.EnvironmentBlocks">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.dll</HintPath>
</Reference>
<Reference Include="Techblox.EnvironmentBlocks.SimulationWorldEnvironment">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.SimulationWorldEnvironment.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.EnvironmentBlocks.SimulationWorldEnvironment.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.GameState.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.GameState.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.GameState.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.GameState">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.GameState.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.GameState.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.PlayerGameplayDetails">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.PlayerGameplayDetails.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.PlayerGameplayDetails.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.Score">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.Score.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.Score.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.Spawning">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.Spawning.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.Spawning.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.Teams">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.Teams.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.Teams.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.WorldResetting.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.WorldResetting.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.WorldResetting.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Gameplay.WorldResetting">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Gameplay.WorldResetting.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Gameplay.WorldResetting.dll</HintPath>
</Reference>
<Reference Include="Techblox.GameSelection">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GameSelection.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GameSelection.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Building">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Building.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Building.dll</HintPath>
@@ -655,10 +866,30 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.BuildRules.MockUps.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.BuildRules.MockUps.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Commands">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Commands.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Commands.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Controls">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Controls.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Controls.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.GamePortal">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.GamePortal.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.GamePortal.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.GamePortal.MockUps">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.GamePortal.MockUps.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.GamePortal.MockUps.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Hotbar.Landscapes">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Hotbar.Landscapes.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Hotbar.Landscapes.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Hotbar.Materials">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Hotbar.Materials.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Hotbar.Materials.dll</HintPath>
@@ -667,54 +898,322 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Common.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Inventory.Landscapes">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Landscapes.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Landscapes.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Inventory.Materials">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Materials.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Inventory.Materials.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.LoadingBar">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.LoadingBar.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.LoadingBar.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Login">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Login.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Login.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.MainGame">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.MainGame.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.MainGame.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Mocks">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Mocks.DynamicListBuild">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.DynamicListBuild.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.DynamicListBuild.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.MyGamesScreen">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.MyGamesScreen.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.MyGamesScreen.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Notifications">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Notifications.MockUps">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.MockUps.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.MockUps.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.PauseMenuCommands">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.PauseMenuCommands.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.PauseMenuCommands.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Progression">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Progression.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Progression.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.ScreenCanvas">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.ScreenCanvas.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.ScreenCanvas.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.TabsBar.Landscapes">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.TabsBar.Landscapes.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.TabsBar.Landscapes.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.TabsBar.Materials">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.TabsBar.Materials.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.TabsBar.Materials.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.UsernameDisplay">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.UsernameDisplay.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.UsernameDisplay.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.WorldCanvas">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.WorldCanvas.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.WorldCanvas.dll</HintPath>
</Reference>
<Reference Include="Techblox.InputCapture">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.InputCapture.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.InputCapture.dll</HintPath>
</Reference>
<Reference Include="Techblox.JetBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.JetBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.JetBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.JetBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.JetBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.JetBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.MachineProcessingService">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.MachineProcessingService.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.MachineProcessingService.dll</HintPath>
</Reference>
<Reference Include="Techblox.MachineSimulationPreprocessing">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.MachineSimulationPreprocessing.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.MachineSimulationPreprocessing.dll</HintPath>
</Reference>
<Reference Include="Techblox.MachineSpawning">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.MachineSpawning.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.MachineSpawning.dll</HintPath>
</Reference>
<Reference Include="Techblox.MachineVelocityCameraEffects">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.MachineVelocityCameraEffects.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.MachineVelocityCameraEffects.dll</HintPath>
</Reference>
<Reference Include="Techblox.Matchmaking">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Matchmaking.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Matchmaking.dll</HintPath>
</Reference>
<Reference Include="Techblox.Monitoring.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Monitoring.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Monitoring.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Multiplayer.UsernameMessages">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Multiplayer.UsernameMessages.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Multiplayer.UsernameMessages.dll</HintPath>
</Reference>
<Reference Include="Techblox.ObjectIDBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ObjectIDBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.Particles">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Particles.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Particles.dll</HintPath>
</Reference>
<Reference Include="Techblox.PlayUX">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.PlayUX.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.PlayUX.dll</HintPath>
</Reference>
<Reference Include="Techblox.Pointer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Pointer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Pointer.dll</HintPath>
</Reference>
<Reference Include="Techblox.ProceduralReflectionProbes">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ProceduralReflectionProbes.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ProceduralReflectionProbes.dll</HintPath>
</Reference>
<Reference Include="Techblox.Rendering.Common">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Rendering.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Rendering.Common.dll</HintPath>
</Reference>
<Reference Include="Techblox.Rendering">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Rendering.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Rendering.dll</HintPath>
</Reference>
<Reference Include="Techblox.Rendering.DOTS">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Rendering.DOTS.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Rendering.DOTS.dll</HintPath>
</Reference>
<Reference Include="Techblox.Rendering.GPUI">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Rendering.GPUI.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Rendering.GPUI.dll</HintPath>
</Reference>
<Reference Include="Techblox.Rendering.Unity">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Rendering.Unity.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Rendering.Unity.dll</HintPath>
</Reference>
<Reference Include="Techblox.SaveGamesConversion">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SaveGamesConversion.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SaveGamesConversion.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScoreHUDBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScoreHUDBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScoreHUDBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScoreHUDGUI">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScoreHUDGUI.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScoreHUDGUI.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScorePickupBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScorePickupBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Anticheat.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Anticheat.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Anticheat.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Anticheat.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Anticheat.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Anticheat.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Eos.Common">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Eos.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Eos.Common.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Eos">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Eos.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Eos.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Eos.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Eos.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Eos.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.GameDetails">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.GameDetails.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.GameDetails.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.LocalPreferences">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.LocalPreferences.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.LocalPreferences.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Matchmaking">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Matchmaking.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Matchmaking.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Metrics.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Metrics.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Metrics.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Progression.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Progression.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Progression.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Storage">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Storage.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Storage.dll</HintPath>
</Reference>
<Reference Include="Techblox.SignalHandling.Audio">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SignalHandling.Audio.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SignalHandling.Audio.dll</HintPath>
</Reference>
<Reference Include="Techblox.SignalHandling.Common">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SignalHandling.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SignalHandling.Common.dll</HintPath>
</Reference>
<Reference Include="Techblox.SpawnBlock.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SpawnBlock.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SpawnBlock.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.SpawnBlock.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SpawnBlock.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SpawnBlock.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.StabilizerBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.StabilizerBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.StabilizerBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.StabilizerBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.StabilizerBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.StabilizerBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.SwitchAnimation">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SwitchAnimation.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SwitchAnimation.dll</HintPath>
</Reference>
<Reference Include="Techblox.TeamScoreBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.TeamScoreBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterGUI.TechPointPoolHUD">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechPointPoolHUD.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechPointPoolHUD.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterGUI.TechpointRewardPanel">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechpointRewardPanel.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechpointRewardPanel.dll</HintPath>
</Reference>
<Reference Include="Techblox.TextBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TextBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TextBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.TimerBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TimerBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TimerBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.TriggerBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TriggerBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TriggerBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.Tweaks.Validation">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Tweaks.Validation.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Tweaks.Validation.dll</HintPath>
</Reference>
<Reference Include="Techblox.VFXBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VFXBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VFXBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.VFXBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VFXBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VFXBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.VisualEffects.VFXGraph">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VisualEffects.VFXGraph.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VisualEffects.VFXGraph.dll</HintPath>
</Reference>
<Reference Include="Techblox.WheelFX">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WheelFX.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WheelFX.dll</HintPath>
</Reference>
<Reference Include="Techblox.WheelRigBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WheelRigBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WheelRigBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.Wheels">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Wheels.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Wheels.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldEditor.Spawning">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldEditor.Spawning.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldEditor.Spawning.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldEditor.TestPlayers">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldEditor.TestPlayers.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldEditor.TestPlayers.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldResetterBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldResetterBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldResetterBlock.dll</HintPath>
</Reference>
<Reference Include="UniTask.Addressables">
<HintPath>..\ref\Techblox_Data\Managed\UniTask.Addressables.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UniTask.Addressables.dll</HintPath>
@@ -819,6 +1318,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Unity.Platforms.Common.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.Platforms.Common.dll</HintPath>
</Reference>
<Reference Include="Unity.Profiling.Core">
<HintPath>..\ref\Techblox_Data\Managed\Unity.Profiling.Core.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.Profiling.Core.dll</HintPath>
</Reference>
<Reference Include="Unity.Properties">
<HintPath>..\ref\Techblox_Data\Managed\Unity.Properties.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.Properties.dll</HintPath>
@@ -839,6 +1342,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Unity.Recorder.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.Recorder.dll</HintPath>
</Reference>
<Reference Include="Unity.Rendering.Hybrid">
<HintPath>..\ref\Techblox_Data\Managed\Unity.Rendering.Hybrid.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.Rendering.Hybrid.dll</HintPath>
</Reference>
<Reference Include="Unity.RenderPipelines.Core.Runtime">
<HintPath>..\ref\Techblox_Data\Managed\Unity.RenderPipelines.Core.Runtime.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Unity.RenderPipelines.Core.Runtime.dll</HintPath>
@@ -995,6 +1502,10 @@
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.NVIDIAModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.NVIDIAModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.NVIDIAModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ParticleSystemModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
@@ -1055,10 +1566,18 @@
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreFontEngineModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreFontEngineModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreFontEngineModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreTextEngineModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreTextEngineModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreTextEngineModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
@@ -1159,32 +1678,21 @@
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.XRModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.XRModule.dll</HintPath>
</Reference>
<Reference Include="uREPL">
<HintPath>..\ref\Techblox_Data\Managed\uREPL.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\uREPL.dll</HintPath>
</Reference>
<Reference Include="VisualProfiler">
<HintPath>..\ref\Techblox_Data\Managed\VisualProfiler.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\VisualProfiler.dll</HintPath>
</Reference>
<Reference Include="websocket-sharp">
<HintPath>..\ref\Techblox_Data\Managed\websocket-sharp.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\websocket-sharp.dll</HintPath>
</Reference>
<Reference Include="Whinarn.UnityMeshSimplifier.Runtime">
<HintPath>..\ref\Techblox_Data\Managed\Whinarn.UnityMeshSimplifier.Runtime.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Whinarn.UnityMeshSimplifier.Runtime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TechbloxModdingAPI\TechbloxModdingAPI.csproj">
<Project>{7fd5a7d8-4f3e-426a-b07d-7dc70442a4df}</Project>
<Name>TechbloxModdingAPI</Name>
</ProjectReference>
<Folder Include="Properties" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->

</Project>
<!--End Dependencies-->
</Project>

+ 0
- 35
CodeGenerator/Properties/AssemblyInfo.cs View File

@@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CodeGenerator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CodeGenerator")]
[assembly: AssemblyCopyright("Copyright © ExMods 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0EBB6400-95A7-4A3D-B2ED-BF31E364CC10")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

+ 26
- 4
TechbloxModdingAPI/Blocks/BlockIDs.cs View File

@@ -274,11 +274,25 @@ namespace TechbloxModdingAPI.Blocks
/// The grid block used by the world editor, named Small Grid like the other one
/// </summary>
SmallGridInWorldEditor,
SegoeUITextblock = 376,
CityDoubleCrossing,
CityDoubleCrossroads,
CitySmallDoubleJunction,
CityDoubleJunction,
CityDoubleToSingleJunction,
CitySmallDoubleRoad,
CityDoubleRoad,
CitySmallDoubleTurn,
CityLargeDoubleTurn,
CitySmallSingleTurn,
CityLargeSingleTurn,
CitySingleJunction,
CitySingleRoad,
SegoeUITextblock,
GravtracTextblock,
HauserTextblock,
TechnopollasTextblock,
DiagonalTrackTile = 381,
CityDoubleHillRoad,
DiagonalTrackTile,
DiagonalTrackTile2,
DiagonalTransitionTile,
SplitLane,
@@ -299,8 +313,13 @@ namespace TechbloxModdingAPI.Blocks
DirtInnerCorner3,
DirtOuterCorner2 = 405,
DirtOuterCorner3,
SmallGrassQuarterTile = 411,
HUDTimer = 413,
CityTarmacEdgeInner,
CityTarmacEdgeOuter,
CityTarmacEdgeRoad,
CityTarmac,
SmallGrassQuarterTile,
CityToRacetrackTransition,
HUDTimer,
CentreHUD,
Checkpoint,
ScoreboardHUD,
@@ -319,5 +338,8 @@ namespace TechbloxModdingAPI.Blocks
StreetLamp = 435,
ConstantBlock = 452,
CounterBlock,
SmallGridHill,
SmallGridHillInnerCorner,
SmallGridHillOuterCorner
}
}

+ 1
- 0
TechbloxModdingAPI/Blocks/BlockMaterial.cs View File

@@ -32,5 +32,6 @@ namespace TechbloxModdingAPI.Blocks
WoodPainted,
WoodRoughGrungy,
Boundary,
Emissive
}
}

+ 1
- 3
TechbloxModdingAPI/Blocks/BlockTests.cs View File

@@ -7,9 +7,7 @@ using DataLoader;
using Svelto.Tasks;
using Svelto.Tasks.Enumerators;
using Unity.Mathematics;
using UnityEngine;

using TechbloxModdingAPI.App;
using TechbloxModdingAPI.Tests;
using TechbloxModdingAPI.Utility;

@@ -82,7 +80,7 @@ namespace TechbloxModdingAPI.Blocks
yield break;
for (var index = 0; index < blocks.Length; index++)
{
if (index % 50 == 0) yield return new WaitForSecondsEnumerator(1f).Continue(); //The material or flipped status can only be changed 130 times per submission
if (index % 10 == 0) yield return new WaitForSecondsEnumerator(1f).Continue(); //The material or flipped status can only be changed 130 times per submission
var block = blocks[index];
if (!block.Exists) continue;
foreach (var property in block.GetType().GetProperties())


+ 3
- 3
TechbloxModdingAPI/Blocks/Engines/MovementEngine.cs View File

@@ -40,7 +40,7 @@ namespace TechbloxModdingAPI.Blocks.Engines
ref PositionEntityStruct posStruct = ref this.entitiesDB.QueryEntityOrDefault<PositionEntityStruct>(block);
ref GridRotationStruct gridStruct = ref this.entitiesDB.QueryEntityOrDefault<GridRotationStruct>(block);
ref LocalTransformEntityStruct transStruct = ref this.entitiesDB.QueryEntityOrDefault<LocalTransformEntityStruct>(block);
ref DOTSPhysicsEntityStruct phyStruct = ref this.entitiesDB.QueryEntityOrDefault<DOTSPhysicsEntityStruct>(block);
var phyStruct = this.entitiesDB.QueryEntityOptional<DOTSPhysicsEntityStruct>(block);
// main (persistent) position
posStruct.position = vector;
// placement grid position
@@ -48,9 +48,9 @@ namespace TechbloxModdingAPI.Blocks.Engines
// rendered position
transStruct.position = vector;
// collision position
if (phyStruct.ID != default)
if (phyStruct)
{ //It exists
FullGameFields._physicsWorld.EntityManager.SetComponentData(phyStruct.dotsEntity, new Translation
FullGameFields._physicsWorld.EntityManager.SetComponentData(phyStruct.Get().dotsEntity, new Translation
{
Value = posStruct.position
});


+ 3
- 3
TechbloxModdingAPI/Blocks/Engines/RotationEngine.cs View File

@@ -40,7 +40,7 @@ namespace TechbloxModdingAPI.Blocks.Engines
ref RotationEntityStruct rotStruct = ref this.entitiesDB.QueryEntityOrDefault<RotationEntityStruct>(block);
ref GridRotationStruct gridStruct = ref this.entitiesDB.QueryEntityOrDefault<GridRotationStruct>(block);
ref LocalTransformEntityStruct transStruct = ref this.entitiesDB.QueryEntityOrDefault<LocalTransformEntityStruct>(block);
ref DOTSPhysicsEntityStruct phyStruct = ref this.entitiesDB.QueryEntityOrDefault<DOTSPhysicsEntityStruct>(block);
var phyStruct = this.entitiesDB.QueryEntityOptional<DOTSPhysicsEntityStruct>(block);
// main (persistent) rotation
Quaternion newRotation = rotStruct.rotation;
newRotation.eulerAngles = vector;
@@ -50,9 +50,9 @@ namespace TechbloxModdingAPI.Blocks.Engines
// rendered rotation
transStruct.rotation = newRotation;
// collision rotation
if (phyStruct.ID != default)
if (phyStruct)
{ //It exists
FullGameFields._physicsWorld.EntityManager.SetComponentData(phyStruct.dotsEntity,
FullGameFields._physicsWorld.EntityManager.SetComponentData(phyStruct.Get().dotsEntity,
new Unity.Transforms.Rotation
{
Value = rotStruct.rotation


+ 154
- 8
TechbloxModdingAPI/TechbloxModdingAPI.csproj View File

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Version>2.2.0</Version>
<Authors>Exmods</Authors>
@@ -19,9 +19,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Lib.Harmony" Version="2.0.4" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>

@@ -29,6 +27,18 @@

<!--Start Dependencies-->
<ItemGroup>
<Reference Include="IllusionInjector">
<HintPath>..\ref\Techblox_Data\Managed\IllusionInjector.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\IllusionInjector.dll</HintPath>
</Reference>
<Reference Include="IllusionPlugin">
<HintPath>..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\IllusionPlugin.dll</HintPath>
</Reference>
<Reference Include="Accessibility">
<HintPath>..\ref\Techblox_Data\Managed\Accessibility.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Accessibility.dll</HintPath>
</Reference>
<Reference Include="Analytics">
<HintPath>..\ref\Techblox_Data\Managed\Analytics.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Analytics.dll</HintPath>
@@ -389,14 +399,18 @@
<HintPath>..\ref\Techblox_Data\Managed\MultiplayerTest.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\MultiplayerTest.dll</HintPath>
</Reference>
<Reference Include="netstandard">
<HintPath>..\ref\Techblox_Data\Managed\netstandard.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\netstandard.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\ref\Techblox_Data\Managed\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Novell.Directory.Ldap">
<HintPath>..\ref\Techblox_Data\Managed\Novell.Directory.Ldap.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Novell.Directory.Ldap.dll</HintPath>
</Reference>
<Reference Include="Prometheus.NetStandard">
<HintPath>..\ref\Techblox_Data\Managed\Prometheus.NetStandard.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Prometheus.NetStandard.dll</HintPath>
</Reference>
<Reference Include="RCX.ScreenshotTaker">
<HintPath>..\ref\Techblox_Data\Managed\RCX.ScreenshotTaker.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RCX.ScreenshotTaker.dll</HintPath>
@@ -609,6 +623,14 @@
<HintPath>..\ref\Techblox_Data\Managed\RobocratX.SimulationMockCompositionRoot.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\RobocratX.SimulationMockCompositionRoot.dll</HintPath>
</Reference>
<Reference Include="Serilog">
<HintPath>..\ref\Techblox_Data\Managed\Serilog.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Serilog.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.Grafana.Loki">
<HintPath>..\ref\Techblox_Data\Managed\Serilog.Sinks.Grafana.Loki.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Serilog.Sinks.Grafana.Loki.dll</HintPath>
</Reference>
<Reference Include="ShaderVariantsGenerationTool">
<HintPath>..\ref\Techblox_Data\Managed\ShaderVariantsGenerationTool.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\ShaderVariantsGenerationTool.dll</HintPath>
@@ -697,6 +719,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.Connections.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.Connections.dll</HintPath>
</Reference>
<Reference Include="Techblox.Blocks.Debug.Client.Monobehaviours">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.Debug.Client.Monobehaviours.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.Debug.Client.Monobehaviours.dll</HintPath>
</Reference>
<Reference Include="Techblox.Blocks.LightBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Blocks.LightBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Blocks.LightBlock.dll</HintPath>
@@ -733,10 +759,26 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Common.Audio.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Common.Audio.dll</HintPath>
</Reference>
<Reference Include="Techblox.ConstantBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ConstantBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ConstantBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ConstantBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ConstantBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ConstantBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.ContextSensitiveTextHint">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ContextSensitiveTextHint.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ContextSensitiveTextHint.dll</HintPath>
</Reference>
<Reference Include="Techblox.CounterBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CounterBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CounterBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.CounterBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.CounterBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.CounterBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.DistanceSensorBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.DistanceSensorBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.DistanceSensorBlock.dll</HintPath>
@@ -869,6 +911,10 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Login.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Login.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.MainGame">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.MainGame.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.MainGame.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Mocks">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Mocks.dll</HintPath>
@@ -885,6 +931,14 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.MockUps.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Notifications.MockUps.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.PauseMenuCommands">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.PauseMenuCommands.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.PauseMenuCommands.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.Progression">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.Progression.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.Progression.dll</HintPath>
</Reference>
<Reference Include="Techblox.GUI.ScreenCanvas">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.GUI.ScreenCanvas.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.GUI.ScreenCanvas.dll</HintPath>
@@ -937,10 +991,22 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Matchmaking.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Matchmaking.dll</HintPath>
</Reference>
<Reference Include="Techblox.Monitoring.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Monitoring.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Monitoring.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Multiplayer.UsernameMessages">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Multiplayer.UsernameMessages.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Multiplayer.UsernameMessages.dll</HintPath>
</Reference>
<Reference Include="Techblox.ObjectIDBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ObjectIDBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ObjectIDBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.Particles">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Particles.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Particles.dll</HintPath>
@@ -989,6 +1055,14 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScoreHUDGUI.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScoreHUDGUI.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScorePickupBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.ScorePickupBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.ScorePickupBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Server.dll</HintPath>
@@ -1025,6 +1099,14 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Matchmaking.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Matchmaking.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Metrics.Server">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Metrics.Server.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Metrics.Server.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Progression.Client">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Progression.Client.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Progression.Client.dll</HintPath>
</Reference>
<Reference Include="Techblox.Services.Storage">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Services.Storage.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Services.Storage.dll</HintPath>
@@ -1057,6 +1139,26 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.SwitchAnimation.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.SwitchAnimation.dll</HintPath>
</Reference>
<Reference Include="Techblox.TeamScoreBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.TeamScoreBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TeamScoreBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterGUI.TechPointPoolHUD">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechPointPoolHUD.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechPointPoolHUD.dll</HintPath>
</Reference>
<Reference Include="Techblox.TechpointConverterGUI.TechpointRewardPanel">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechpointRewardPanel.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TechpointConverterGUI.TechpointRewardPanel.dll</HintPath>
</Reference>
<Reference Include="Techblox.TextBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TextBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TextBlock.dll</HintPath>
@@ -1069,10 +1171,42 @@
<HintPath>..\ref\Techblox_Data\Managed\Techblox.TriggerBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.TriggerBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.Tweaks.Validation">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Tweaks.Validation.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Tweaks.Validation.dll</HintPath>
</Reference>
<Reference Include="Techblox.VFXBlockClient">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VFXBlockClient.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VFXBlockClient.dll</HintPath>
</Reference>
<Reference Include="Techblox.VFXBlockServer">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VFXBlockServer.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VFXBlockServer.dll</HintPath>
</Reference>
<Reference Include="Techblox.VisualEffects.VFXGraph">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.VisualEffects.VFXGraph.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.VisualEffects.VFXGraph.dll</HintPath>
</Reference>
<Reference Include="Techblox.WheelFX">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WheelFX.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WheelFX.dll</HintPath>
</Reference>
<Reference Include="Techblox.WheelRigBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WheelRigBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WheelRigBlock.dll</HintPath>
</Reference>
<Reference Include="Techblox.Wheels">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.Wheels.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.Wheels.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldEditor.Spawning">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldEditor.Spawning.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldEditor.Spawning.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldEditor.TestPlayers">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldEditor.TestPlayers.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldEditor.TestPlayers.dll</HintPath>
</Reference>
<Reference Include="Techblox.WorldResetterBlock">
<HintPath>..\ref\Techblox_Data\Managed\Techblox.WorldResetterBlock.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\Techblox.WorldResetterBlock.dll</HintPath>
@@ -1365,6 +1499,10 @@
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.NVIDIAModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.NVIDIAModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.NVIDIAModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ParticleSystemModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
@@ -1425,10 +1563,18 @@
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TerrainPhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreFontEngineModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreFontEngineModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreFontEngineModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreTextEngineModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextCoreTextEngineModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextCoreTextEngineModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>..\ref\Techblox_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
<HintPath>..\..\ref\Techblox_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>


+ 2
- 2
TechbloxModdingAPI/Tests/TechbloxModdingAPIPluginTest.cs View File

@@ -261,7 +261,7 @@ namespace TechbloxModdingAPI.Tests
/*((FasterList<GuiInputMap.GuiInputMapElement>)AccessTools.Property(typeof(GuiInputMap), "GuiInputsButtonDown").GetValue(null))
.Add(new GuiInputMap.GuiInputMapElement(RewiredConsts.Action.ToggleCommandLine, GuiIn))*/

/*Game.Enter += (sender, e) =>
Game.Enter += (sender, e) =>
{
ushort lastKey = ushort.MaxValue;
foreach (var kv in FullGameFields._dataDb.GetValues<CubeListData>()
@@ -299,7 +299,7 @@ namespace TechbloxModdingAPI.Tests
return result;
})
.Aggregate((a, b) => a + "\n" + b));
};*/
};

CommandBuilder.Builder("takeScreenshot", "Enables the screenshot taker")
.Action(() =>


Loading…
Cancel
Save