mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-09 00:39:58 +00:00
owml update
This commit is contained in:
parent
27b16ea7dd
commit
57a808fa9e
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Animation
|
||||
|
@ -1,5 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
|
@ -1,5 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
|
@ -1,5 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
|
@ -1,5 +1,5 @@
|
||||
using Harmony;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection.Emit;
|
||||
using UnityEngine;
|
||||
|
@ -1,5 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.Utility;
|
||||
using System.Linq;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.Patches;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.WorldSync;
|
||||
using UnityEngine;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Events;
|
||||
using QSB.WorldSync;
|
||||
|
||||
|
@ -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" />
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
@ -1,5 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Animation;
|
||||
using QSB.DeathSync;
|
||||
using QSB.ElevatorSync;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QuantumUNET;
|
||||
|
||||
namespace QSB.TimeSync
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Patches;
|
||||
|
||||
namespace QSB.TimeSync
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
using System.Linq;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Tools
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using OWML.Utils;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Utility
|
||||
|
@ -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"
|
||||
}
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user