owml update

This commit is contained in:
Mister_Nebula 2020-12-20 10:56:15 +00:00
parent 27b16ea7dd
commit 57a808fa9e
22 changed files with 44 additions and 42 deletions

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using UnityEngine;
namespace QSB.Animation

View File

@ -1,5 +1,5 @@
using OWML.Common;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.Player;
using QSB.Utility;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.Player;
using QSB.Utility;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.Player;
using QSB.Utility;

View File

@ -1,5 +1,5 @@
using Harmony;
using OWML.ModHelper.Events;
using OWML.Utils;
using System.Collections.Generic;
using System.Reflection.Emit;
using UnityEngine;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.Utility;
using System.Linq;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.Patches;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.WorldSync;
using UnityEngine;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Events;
using QSB.WorldSync;

View File

@ -42,37 +42,37 @@
<HintPath>$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="NAudio-Unity, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\NAudio-Unity.dll</HintPath>
<HintPath>..\packages\OWML.1.1.0\lib\net35\NAudio-Unity.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Json.Net.Unity3D.9.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="OWML, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.dll</HintPath>
<Reference Include="OWML.Common, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.Common.dll</HintPath>
</Reference>
<Reference Include="OWML.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.Common.dll</HintPath>
<Reference Include="OWML.Logging, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.Logging.dll</HintPath>
</Reference>
<Reference Include="OWML.Logging, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.Logging.dll</HintPath>
<Reference Include="OWML.ModHelper, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.dll</HintPath>
<Reference Include="OWML.ModHelper.Assets, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.Assets.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper.Assets, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.Assets.dll</HintPath>
<Reference Include="OWML.ModHelper.Events, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.Events.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper.Events, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.Events.dll</HintPath>
<Reference Include="OWML.ModHelper.Input, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.Input.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper.Input, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.Input.dll</HintPath>
<Reference Include="OWML.ModHelper.Interaction, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.Interaction.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper.Interaction, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.Interaction.dll</HintPath>
<Reference Include="OWML.ModHelper.Menus, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.ModHelper.Menus.dll</HintPath>
</Reference>
<Reference Include="OWML.ModHelper.Menus, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.0.7.3\lib\net35\OWML.ModHelper.Menus.dll</HintPath>
<Reference Include="OWML.Utils, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OWML.1.1.0\lib\net35\OWML.Utils.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />

View File

@ -1,6 +1,6 @@
using OWML.Common;
using OWML.ModHelper;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.ConversationSync;
using QSB.ElevatorSync;
using QSB.GeyserSync;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using System;
using System.Linq;
using UnityEngine;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Animation;
using QSB.DeathSync;
using QSB.ElevatorSync;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QuantumUNET;
namespace QSB.TimeSync

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using System;
using UnityEngine;
using UnityEngine.UI;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Patches;
namespace QSB.TimeSync

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using QSB.Player;
using QSB.Utility;
using System.Linq;

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using UnityEngine;
namespace QSB.Tools

View File

@ -11,6 +11,8 @@ namespace QSB.TransformSync
private int Index => QSBWorldSync.OrbSyncList.IndexOf(this);
private const float SmoothTime = 0.1f;
private Vector3 _positionSmoothVelocity;
private bool _isInitialized;
private bool _isReady;
private Transform _orbParent;
@ -62,13 +64,13 @@ namespace QSB.TransformSync
if (HasAuthority)
{
transform.position = _orbParent.InverseTransformPoint(OrbTransform.position);
transform.rotation = _orbParent.InverseTransformRotation(OrbTransform.rotation);
transform.rotation = OrbTransform.rotation;
return;
}
if (transform.position != Vector3.zero)
{
OrbTransform.position = _orbParent.TransformPoint(transform.position);
OrbTransform.rotation = _orbParent.InverseTransformRotation(OrbTransform.rotation);
OrbTransform.position = _orbParent.TransformPoint(Vector3.SmoothDamp(OrbTransform.position, transform.position, ref _positionSmoothVelocity, SmoothTime));
OrbTransform.rotation = transform.rotation;
}
}
}

View File

@ -1,4 +1,4 @@
using OWML.ModHelper.Events;
using OWML.Utils;
using UnityEngine;
namespace QSB.Utility

View File

@ -5,5 +5,5 @@
"description": "Adds online multiplayer to the game.",
"uniqueName": "Raicuparta.QuantumSpaceBuddies",
"version": "0.7.1",
"owmlVersion": "0.7.3"
"owmlVersion": "1.1.0"
}

View File

@ -2,5 +2,5 @@
<packages>
<package id="Json.Net.Unity3D" version="9.0.1" targetFramework="net35" />
<package id="Lib.Harmony" version="1.2.0.1" targetFramework="net35" />
<package id="OWML" version="0.7.3" targetFramework="net35" />
<package id="OWML" version="1.1.0" targetFramework="net35" />
</packages>