seperate projects

This commit is contained in:
Mister_Nebula 2020-12-04 22:14:53 +00:00
parent 325eb4ea33
commit 56e99c49f1
84 changed files with 351 additions and 208 deletions

View File

@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.29613.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QSB", "QSB\QSB.csproj", "{1F00090A-C697-4C55-B401-192F3CFB9DC2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuantumUNET", "QuantumUNET\QuantumUNET.csproj", "{C8C53004-1508-4F86-A419-4292C188DC2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -15,6 +17,10 @@ Global
{1F00090A-C697-4C55-B401-192F3CFB9DC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F00090A-C697-4C55-B401-192F3CFB9DC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F00090A-C697-4C55-B401-192F3CFB9DC2}.Release|Any CPU.Build.0 = Release|Any CPU
{C8C53004-1508-4F86-A419-4292C188DC2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C8C53004-1508-4F86-A419-4292C188DC2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C8C53004-1508-4F86-A419-4292C188DC2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C8C53004-1508-4F86-A419-4292C188DC2A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -5,6 +5,7 @@ using QSB.Player;
using QSB.Utility;
using System.Linq;
using UnityEngine;
using QuantumUNET;
namespace QSB.Animation
{

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
using System;
using UnityEngine;

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.ConversationSync.Events
{

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.ConversationSync.Events
{

View File

@ -1,6 +1,6 @@
using QSB.Messaging;
using QSB.Player;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.TransformSync;
namespace QSB.EventsCore

View File

@ -1,5 +1,5 @@
using QSB.EventsCore;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.WorldSync;
namespace QSB.GeyserSync

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.MessagesCore
{

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.MessagesCore
{

View File

@ -1,6 +1,6 @@
using OWML.Common;
using QSB.EventsCore;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.Utility;
using System;
using System.Linq;

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.Messaging
{

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.Messaging
{

View File

@ -1,6 +1,6 @@
using OWML.Common;
using QSB.EventsCore;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.Utility;
using QSB.WorldSync;
using QSB.WorldSync.Events;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.Utility;
using QSB.WorldSync;
using System.Linq;

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.Player.Events
{

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
using System;
using System.Linq;

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.Player.Events
{

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.Player
{

View File

@ -1,6 +1,6 @@
using OWML.Common;
using QSB.Player.Events;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.TransformSync;
using QSB.Utility;
using System.Collections.Generic;

View File

@ -6,7 +6,7 @@ using QSB.ElevatorSync;
using QSB.GeyserSync;
using QSB.OrbSync;
using QSB.Patches;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.SectorSync;
using QSB.TimeSync;
using QSB.Utility;

View File

@ -127,21 +127,7 @@
<Compile Include="Animation\AnimControllerPatch.cs" />
<Compile Include="Animation\AnimFloatParam.cs" />
<Compile Include="Animation\CrouchSync.cs" />
<Compile Include="Animation\Events\QSBAnimationMessage.cs" />
<Compile Include="Animation\Events\QSBAnimationParametersMessage.cs" />
<Compile Include="Animation\Events\QSBAnimationTriggerMessage.cs" />
<Compile Include="Animation\PlayerHeadRotationSync.cs" />
<Compile Include="Animation\QSBNetworkAnimator.cs" />
<Compile Include="QuantumUNET\QSBAddPlayerMessage.cs" />
<Compile Include="QuantumUNET\QSBChannelBuffer.cs" />
<Compile Include="QuantumUNET\QSBCRCMessage.cs" />
<Compile Include="QuantumUNET\QSBCRCMessageEntry.cs" />
<Compile Include="QuantumUNET\QSBEmptyMessage.cs" />
<Compile Include="QuantumUNET\QSBErrorMessage.cs" />
<Compile Include="QuantumUNET\QSBMessageBase.cs" />
<Compile Include="QuantumUNET\QSBNetworkCRC.cs" />
<Compile Include="QuantumUNET\QSBChannelPacket.cs" />
<Compile Include="QuantumUNET\QSBClientAuthorityMessage.cs" />
<Compile Include="ConversationSync\Events\ConversationEvent.cs" />
<Compile Include="ConversationSync\Events\ConversationMessage.cs" />
<Compile Include="ConversationSync\ConversationPatches.cs" />
@ -172,48 +158,11 @@
<Compile Include="Patches\QSBPatchManager.cs" />
<Compile Include="Player\Events\ServerSendPlayerStatesEvent.cs" />
<Compile Include="Player\PlayerSyncObject.cs" />
<Compile Include="QuantumUNET\QSBClientScene.cs" />
<Compile Include="QSBInputManager.cs" />
<Compile Include="QuantumUNET\QSBLocalClient.cs" />
<Compile Include="QuantumUNET\QSBNetBuffer.cs" />
<Compile Include="QuantumUNET\QSBNetworkBehaviour.cs" />
<Compile Include="QuantumUNET\QSBNetworkClient.cs" />
<Compile Include="QuantumUNET\QSBNetworkConnection.cs" />
<Compile Include="QuantumUNET\QSBNetworkIdentity.cs" />
<Compile Include="QSBNetworkLobby.cs" />
<Compile Include="Patches\QSBPatch.cs" />
<Compile Include="Patches\QSBPatchTypes.cs" />
<Compile Include="QuantumUNET\QSBNetworkManagerHUD.cs" />
<Compile Include="QuantumUNET\QSBNetworkManagerUNET.cs" />
<Compile Include="QuantumUNET\QSBNetworkMessage.cs" />
<Compile Include="QuantumUNET\QSBNetworkMessageDelegate.cs" />
<Compile Include="QuantumUNET\QSBNetworkMessageHandlers.cs" />
<Compile Include="QuantumUNET\QSBNetworkMigrationManager.cs" />
<Compile Include="QuantumUNET\QSBNetworkReader.cs" />
<Compile Include="QuantumUNET\QSBNetworkScene.cs" />
<Compile Include="QuantumUNET\QSBNetworkServer.cs" />
<Compile Include="QuantumUNET\QSBNetworkServerSimple.cs" />
<Compile Include="QuantumUNET\QSBNetworkTransform.cs" />
<Compile Include="QuantumUNET\QSBNetworkWriter.cs" />
<Compile Include="QuantumUNET\QSBNotReadyMessage.cs" />
<Compile Include="QuantumUNET\QSBObjectDestroyMessage.cs" />
<Compile Include="QuantumUNET\QSBObjectSpawnFinishedMessage.cs" />
<Compile Include="QuantumUNET\QSBObjectSpawnMessage.cs" />
<Compile Include="QuantumUNET\QSBObjectSpawnSceneMessage.cs" />
<Compile Include="QuantumUNET\QSBOwnerMessage.cs" />
<Compile Include="QuantumUNET\QSBPeerAuthorityMessage.cs" />
<Compile Include="QuantumUNET\QSBPeerInfoMessage.cs" />
<Compile Include="QuantumUNET\QSBPeerInfoPlayer.cs" />
<Compile Include="QuantumUNET\QSBPeerListMessage.cs" />
<Compile Include="QuantumUNET\QSBPlayerController.cs" />
<Compile Include="QuantumUNET\QSBReadyMessage.cs" />
<Compile Include="QuantumUNET\QSBReconnectMessage.cs" />
<Compile Include="QuantumUNET\QSBRemovePlayerMessage.cs" />
<Compile Include="QSBSceneManager.cs" />
<Compile Include="QuantumUNET\QSBStringMessage.cs" />
<Compile Include="QuantumUNET\QSBULocalConnectionToClient.cs" />
<Compile Include="QuantumUNET\QSBULocalConnectionToServer.cs" />
<Compile Include="QuantumUNET\QSBUtility.cs" />
<Compile Include="TimeSync\TimeSyncType.cs" />
<Compile Include="TimeSync\TimeSyncUI.cs" />
<Compile Include="TimeSync\WakeUpPatches.cs" />
@ -286,7 +235,12 @@
<None Include="manifest.json" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ProjectReference Include="..\QuantumUNET\QuantumUNET.csproj">
<Project>{C8C53004-1508-4F86-A419-4292C188DC2A}</Project>
<Name>QuantumUNET</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>md "$(OwmlDir)\Mods\$(ProjectName)"

View File

@ -9,7 +9,7 @@ using QSB.Instruments;
using QSB.OrbSync;
using QSB.Patches;
using QSB.Player;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.SectorSync;
using QSB.TimeSync;
using QSB.TransformSync;
@ -156,13 +156,6 @@ namespace QSB
{
WorldRegistry.OldDialogueTrees = Resources.FindObjectsOfTypeAll<CharacterDialogueTree>().ToList();
}
QSBNetworkServer.UnregisterHandler(40);
QSBNetworkServer.UnregisterHandler(41);
QSBNetworkServer.UnregisterHandler(42);
QSBNetworkServer.RegisterHandler(40, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationServerMessage));
QSBNetworkServer.RegisterHandler(41, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationParametersServerMessage));
QSBNetworkServer.RegisterHandler(42, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationTriggerServerMessage));
}
public override void OnServerAddPlayer(QSBNetworkConnection connection, short playerControllerId) // Called on the server when a client joins
@ -193,13 +186,7 @@ namespace QSB
if (!QSBNetworkServer.localClientActive)
{
QSBPatchManager.DoPatchType(QSBPatchTypes.OnNonServerClientConnect);
singleton.client.UnregisterHandler(40);
singleton.client.UnregisterHandler(41);
singleton.client.RegisterHandlerSafe(40, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationClientMessage));
singleton.client.RegisterHandlerSafe(41, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationParametersClientMessage));
}
singleton.client.UnregisterHandler(42);
singleton.client.RegisterHandlerSafe(42, new QSBNetworkMessageDelegate(QSBNetworkAnimator.OnAnimationTriggerClientMessage));
QSBPatchManager.DoPatchType(QSBPatchTypes.OnClientConnect);

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.TimeSync.Events
{

View File

@ -1,5 +1,5 @@
using OWML.ModHelper.Events;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.TimeSync
{

View File

@ -1,6 +1,6 @@
using QSB.DeathSync;
using QSB.EventsCore;
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.TimeSync.Events;
using QSB.Utility;
using UnityEngine;

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
using QSB.Utility;
using QSB.WorldSync;
using UnityEngine;

View File

@ -1,6 +1,6 @@
using QSB.Player;
using QSB.QuantumUNET;
using QSB.TransformSync;
using QuantumUNET;
namespace QSB.Utility
{

View File

@ -1,4 +1,4 @@
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.WorldSync.Events
{

View File

@ -1,5 +1,5 @@
using QSB.Messaging;
using QSB.QuantumUNET;
using QuantumUNET;
namespace QSB.WorldSync.Events
{

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
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("QuantumUNET")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembly: AssemblyProduct("QuantumUNET")]
[assembly: AssemblyCopyright("Copyright © HP Inc. 2020")]
[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("c8c53004-1508-4f86-a419-4292c188dc2a")]
// 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")]

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBAddPlayerMessage : QSBMessageBase
{

View File

@ -1,7 +1,6 @@
using QSB.QuantumUNET;
using UnityEngine.Networking;
using UnityEngine.Networking;
namespace QSB.Animation.Events
namespace QuantumUNET
{
internal class QSBAnimationMessage : QSBMessageBase
{

View File

@ -1,7 +1,6 @@
using QSB.QuantumUNET;
using UnityEngine.Networking;
using UnityEngine.Networking;
namespace QSB.Animation.Events
namespace QuantumUNET
{
internal class QSBAnimationParametersMessage : QSBMessageBase
{

View File

@ -1,7 +1,6 @@
using QSB.QuantumUNET;
using UnityEngine.Networking;
using UnityEngine.Networking;
namespace QSB.Animation.Events
namespace QuantumUNET
{
internal class QSBAnimationTriggerMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBCRCMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal struct QSBCRCMessageEntry
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBChannelBuffer : IDisposable
{

View File

@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal struct QSBChannelPacket
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBClientAuthorityMessage : QSBMessageBase
{

View File

@ -1,10 +1,8 @@
using QSB.Animation;
using QSB.Utility;
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBClientScene
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBEmptyMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBErrorMessage : QSBMessageBase
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBLocalClient : QSBNetworkClient
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public abstract class QSBMessageBase
{

View File

@ -1,7 +1,7 @@
using System;
using UnityEngine;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBNetBuffer
{

View File

@ -1,12 +1,8 @@
using QSB.Animation.Events;
using QSB.QuantumUNET;
using UnityEngine;
using UnityEngine;
namespace QSB.Animation
namespace QuantumUNET
{
// Cleaned up unity code. UNET is so broken I gave up and fixed it myself.
internal class QSBNetworkAnimator : QSBNetworkBehaviour
public class QSBNetworkAnimator : QSBNetworkBehaviour
{
private static QSBAnimationMessage AnimationMessage = new QSBAnimationMessage();
private static QSBAnimationParametersMessage ParametersMessage = new QSBAnimationParametersMessage();

View File

@ -1,12 +1,12 @@
using OWML.Common;
using QSB.Utility;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkBehaviour : MonoBehaviour
{
@ -97,7 +97,7 @@ namespace QSB.QuantumUNET
{
if (!QSBNetworkServer.active)
{
DebugLog.ToConsole($"Error - Tried to send event {eventName} on channel {channelId} but QSBNetworkServer isn't active.", MessageType.Error);
ModConsole.OwmlConsole.WriteLine($"Error - Tried to send event {eventName} on channel {channelId} but QSBNetworkServer isn't active.");
return;
}
writer.FinishMessage();

View File

@ -4,7 +4,7 @@ using System.Reflection;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkCRC
{

View File

@ -1,4 +1,5 @@
using QSB.Utility;
using OWML.Common;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Net;
@ -8,7 +9,7 @@ using UnityEngine.Networking;
using UnityEngine.Networking.Match;
using UnityEngine.Networking.NetworkSystem;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkClient
{
@ -366,7 +367,7 @@ namespace QSB.QuantumUNET
public void Connect(string serverIp, int serverPort)
{
PrepareForConnect();
DebugLog.DebugWrite(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"Client Connect: ",
serverIp,
@ -391,7 +392,7 @@ namespace QSB.QuantumUNET
}
else
{
DebugLog.DebugWrite("Async DNS START:" + serverIp);
ModConsole.OwmlConsole.WriteLine("Async DNS START:" + serverIp);
m_RequestedServerHost = serverIp;
m_AsyncConnect = ConnectState.Resolving;
Dns.BeginGetHostAddresses(serverIp, new AsyncCallback(GetHostAddressesCallback), this);
@ -482,7 +483,6 @@ namespace QSB.QuantumUNET
private void PrepareForConnect(bool usePlatformSpecificProtocols)
{
DebugLog.DebugWrite("prepare for connect");
SetActive(true);
RegisterSystemHandlers(false);
if (m_HostTopology == null)
@ -501,7 +501,7 @@ namespace QSB.QuantumUNET
num = 1;
}
int num2 = m_SimulatedLatency * 3;
DebugLog.DebugWrite(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"AddHost Using Simulator ",
num,
@ -560,7 +560,7 @@ namespace QSB.QuantumUNET
{
num = 1;
}
DebugLog.DebugWrite(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"Connect Using Simulator ",
m_SimulatedLatency / 3,

View File

@ -1,11 +1,12 @@
using QSB.Utility;
using OWML.Common;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkConnection : IDisposable
{
@ -367,7 +368,7 @@ namespace QSB.QuantumUNET
}
if (networkMessageDelegate == null)
{
DebugLog.ToConsole(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"Unknown message ID ",
num2,

View File

@ -1,12 +1,12 @@
using OWML.Common;
using QSB.Utility;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public sealed class QSBNetworkIdentity : MonoBehaviour
{
@ -191,8 +191,7 @@ namespace QSB.QuantumUNET
}
else if (!allowNonZeroNetId)
{
DebugLog.DebugWrite($"netid is {NetId}");
Debug.LogError(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"Object has non-zero netId ",
NetId,
@ -648,7 +647,7 @@ namespace QSB.QuantumUNET
internal void SetLocalPlayer(short localPlayerControllerId)
{
DebugLog.DebugWrite($"SetLocalPlayer {localPlayerControllerId}", OWML.Common.MessageType.Warning);
ModConsole.OwmlConsole.WriteLine($"SetLocalPlayer {localPlayerControllerId}");
IsLocalPlayer = true;
PlayerControllerId = localPlayerControllerId;
var hasAuthority = this.HasAuthority;
@ -856,7 +855,7 @@ namespace QSB.QuantumUNET
{
if (!IsServer)
{
DebugLog.ToConsole($"Warning - Cannot remove authority on client-side. (NetId:{NetId}, Gameobject:{gameObject.name})", MessageType.Warning);
ModConsole.OwmlConsole.WriteLine($"Warning - Cannot remove authority on client-side. (NetId:{NetId}, Gameobject:{gameObject.name})");
return false;
}
else if (ConnectionToClient != null)
@ -890,12 +889,12 @@ namespace QSB.QuantumUNET
{
if (!IsServer)
{
DebugLog.ToConsole($"Warning - Cannot assign authority on client-side. (NetId:{NetId}, Gameobject:{gameObject.name})", MessageType.Warning);
ModConsole.OwmlConsole.WriteLine($"Warning - Cannot assign authority on client-side. (NetId:{NetId}, Gameobject:{gameObject.name})");
return false;
}
else if (!LocalPlayerAuthority)
{
DebugLog.ToConsole($"Warning - Cannot assign authority on object without LocalPlayerAuthority. (NetId:{NetId}, Gameobject:{gameObject.name})", MessageType.Warning);
ModConsole.OwmlConsole.WriteLine($"Warning - Cannot assign authority on object without LocalPlayerAuthority. (NetId:{NetId}, Gameobject:{gameObject.name})");
return false;
}
else if (ClientAuthorityOwner != null && conn != ClientAuthorityOwner)
@ -942,7 +941,7 @@ namespace QSB.QuantumUNET
}
}
internal static void UNetStaticUpdate()
public static void UNetStaticUpdate()
{
QSBNetworkServer.Update();
QSBNetworkClient.UpdateClients();

View File

@ -2,13 +2,13 @@
using UnityEngine;
using UnityEngine.Networking.Match;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkManagerHUD : MonoBehaviour
{
private void Awake()
{
this.manager = base.GetComponent<QSBNetworkManager>();
this.manager = base.GetComponent<QSBNetworkManagerUNET>();
}
private void Update()
@ -243,7 +243,7 @@ namespace QSB.QuantumUNET
}
}
public QSBNetworkManager manager;
public QSBNetworkManagerUNET manager;
[SerializeField]
public bool showGUI = true;

View File

@ -1,5 +1,5 @@
using OWML.Common;
using QSB.Utility;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Net;
@ -9,7 +9,7 @@ using UnityEngine.Networking.Match;
using UnityEngine.Networking.Types;
using UnityEngine.SceneManagement;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkManagerUNET : MonoBehaviour
{
@ -697,22 +697,22 @@ namespace QSB.QuantumUNET
this.RegisterClientMessages(client);
if (matchInfo != null)
{
DebugLog.DebugWrite("NetworkManager StartClient match: " + matchInfo);
ModConsole.OwmlConsole.WriteLine("NetworkManager StartClient match: " + matchInfo);
client.Connect(matchInfo);
}
else if (m_EndPoint != null)
{
DebugLog.DebugWrite("NetworkManager StartClient using provided SecureTunnel");
ModConsole.OwmlConsole.WriteLine("NetworkManager StartClient using provided SecureTunnel");
client.Connect(m_EndPoint);
}
else
{
if (string.IsNullOrEmpty(m_NetworkAddress))
{
DebugLog.DebugWrite("Must set the Network Address field in the manager");
ModConsole.OwmlConsole.WriteLine("Must set the Network Address field in the manager");
return null;
}
DebugLog.DebugWrite(string.Concat(new object[]
ModConsole.OwmlConsole.WriteLine(string.Concat(new object[]
{
"NetworkManager StartClient address:",
m_NetworkAddress,
@ -721,12 +721,12 @@ namespace QSB.QuantumUNET
}));
if (m_UseSimulator)
{
DebugLog.DebugWrite("connecting with simulator");
ModConsole.OwmlConsole.WriteLine("connecting with simulator");
client.ConnectWithSimulator(m_NetworkAddress, m_NetworkPort, m_SimulatedLatency, m_PacketLossPercentage);
}
else
{
DebugLog.DebugWrite("connecting");
ModConsole.OwmlConsole.WriteLine("connecting");
client.Connect(m_NetworkAddress, m_NetworkPort);
}
}
@ -982,7 +982,7 @@ namespace QSB.QuantumUNET
{
if (s_LoadingSceneAsync.isDone)
{
DebugLog.DebugWrite("ClientChangeScene done readyCon:" + s_ClientReadyConnection);
ModConsole.OwmlConsole.WriteLine("ClientChangeScene done readyCon:" + s_ClientReadyConnection);
singleton.FinishLoadScene();
s_LoadingSceneAsync.allowSceneActivation = true;
s_LoadingSceneAsync = null;
@ -1267,21 +1267,21 @@ namespace QSB.QuantumUNET
{
if (LogFilter.logError)
{
DebugLog.ToConsole("Error - The PlayerPrefab is empty on the QSBNetworkManager. Please setup a PlayerPrefab object.", MessageType.Error);
ModConsole.OwmlConsole.WriteLine("Error - The PlayerPrefab is empty on the QSBNetworkManager. Please setup a PlayerPrefab object.");
}
}
else if (m_PlayerPrefab.GetComponent<QSBNetworkIdentity>() == null)
{
if (LogFilter.logError)
{
DebugLog.ToConsole("Error - The PlayerPrefab does not have a QSBNetworkIdentity. Please add a QSBNetworkIdentity to the player prefab.", MessageType.Error);
ModConsole.OwmlConsole.WriteLine("Error - The PlayerPrefab does not have a QSBNetworkIdentity. Please add a QSBNetworkIdentity to the player prefab.");
}
}
else if ((int)playerControllerId < conn.PlayerControllers.Count && conn.PlayerControllers[(int)playerControllerId].IsValid && conn.PlayerControllers[(int)playerControllerId].Gameobject != null)
{
if (LogFilter.logError)
{
Debug.LogError("There is already a player at that playerControllerId for this connections.");
ModConsole.OwmlConsole.WriteLine("Warning - There is already a player at that playerControllerId for this connections.");
}
}
else

View File

@ -1,6 +1,6 @@
using System;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkMessage
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public delegate void QSBNetworkMessageDelegate(QSBNetworkMessage netMsg);
}

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBNetworkMessageHandlers
{

View File

@ -4,7 +4,7 @@ using UnityEngine.Networking;
using UnityEngine.Networking.Match;
using UnityEngine.Networking.Types;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkMigrationManager : MonoBehaviour
{
@ -197,9 +197,9 @@ namespace QSB.QuantumUNET
this.m_DisconnectedFromHost = false;
this.m_HostWasShutdown = false;
QSBClientScene.SetReconnectId(reconnectId, this.m_Peers);
if (QSBNetworkManager.singleton != null)
if (QSBNetworkManagerUNET.singleton != null)
{
QSBNetworkManager.singleton.SetupMigrationManager(this);
QSBNetworkManagerUNET.singleton.SetupMigrationManager(this);
}
}
@ -711,10 +711,10 @@ namespace QSB.QuantumUNET
bool result;
if (networkClient != null)
{
if (QSBNetworkManager.singleton != null)
if (QSBNetworkManagerUNET.singleton != null)
{
QSBNetworkManager.singleton.RegisterServerMessages();
QSBNetworkManager.singleton.UseExternalClient(networkClient);
QSBNetworkManagerUNET.singleton.RegisterServerMessages();
QSBNetworkManagerUNET.singleton.UseExternalClient(networkClient);
}
else
{

View File

@ -3,7 +3,7 @@ using System.Text;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkReader
{

View File

@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBNetworkScene
{

View File

@ -1,6 +1,5 @@
using OWML.Common;
using QSB.Animation;
using QSB.Utility;
using OWML.Logging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@ -9,7 +8,7 @@ using UnityEngine.Networking;
using UnityEngine.Networking.Match;
using UnityEngine.Networking.Types;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkServer
{
@ -548,7 +547,7 @@ namespace QSB.QuantumUNET
}
if (!flag)
{
DebugLog.DebugWrite("SendBytesToReady failed");
ModConsole.OwmlConsole.WriteLine("SendBytesToReady failed");
}
}
else
@ -571,12 +570,12 @@ namespace QSB.QuantumUNET
}
if (!flag2)
{
DebugLog.DebugWrite("SendBytesToReady failed for " + contextObj);
ModConsole.OwmlConsole.WriteLine("SendBytesToReady failed for " + contextObj);
}
}
catch (NullReferenceException)
{
DebugLog.DebugWrite("SendBytesToReady object " + contextObj + " has not been spawned");
ModConsole.OwmlConsole.WriteLine("SendBytesToReady object " + contextObj + " has not been spawned");
}
}
}
@ -1443,7 +1442,7 @@ namespace QSB.QuantumUNET
QSBNetworkIdentity networkIdentity;
if (!active)
{
DebugLog.ToConsole("Error - SpawnObject for " + obj + ", NetworkServer is not active. Cannot spawn objects without an active server.", MessageType.Error);
ModConsole.OwmlConsole.WriteLine("Error - SpawnObject for " + obj + ", NetworkServer is not active. Cannot spawn objects without an active server.");
}
else if (!GetNetworkIdentity(obj, out networkIdentity))
{

View File

@ -1,12 +1,11 @@
using QSB.Utility;
using System;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Networking.Types;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkServerSimple
{

View File

@ -1,8 +1,9 @@
using QSB.Utility;
using OWML.Common;
using OWML.Logging;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkTransform : QSBNetworkBehaviour
{
@ -107,7 +108,6 @@ namespace QSB.QuantumUNET
{
if (SyncVarDirtyBits == 0U)
{
DebugLog.DebugWrite("dirty bits = 0, abort");
writer.WritePackedUInt32(0U);
return false;
}
@ -272,22 +272,22 @@ namespace QSB.QuantumUNET
var gameObject = QSBNetworkServer.FindLocalObject(networkInstanceId);
if (gameObject == null)
{
DebugLog.DebugWrite("Received NetworkTransform data for GameObject that doesn't exist");
ModConsole.OwmlConsole.WriteLine("Warning - Received NetworkTransform data for GameObject that doesn't exist");
}
else
{
var component = gameObject.GetComponent<QSBNetworkTransform>();
if (component == null)
{
DebugLog.DebugWrite("HandleTransform null target");
ModConsole.OwmlConsole.WriteLine("Warning - HandleTransform null target");
}
else if (!component.LocalPlayerAuthority)
{
DebugLog.DebugWrite("HandleTransform no localPlayerAuthority");
ModConsole.OwmlConsole.WriteLine("Warning - HandleTransform no localPlayerAuthority");
}
else if (netMsg.Connection.ClientOwnedObjects == null)
{
DebugLog.DebugWrite("HandleTransform object not owned by connection");
ModConsole.OwmlConsole.WriteLine("Warning - HandleTransform object not owned by connection");
}
else if (netMsg.Connection.ClientOwnedObjects.Contains(networkInstanceId))
{
@ -296,7 +296,7 @@ namespace QSB.QuantumUNET
}
else if (LogFilter.logWarn)
{
DebugLog.DebugWrite("HandleTransform netId:" + networkInstanceId + " is not for a valid player");
ModConsole.OwmlConsole.WriteLine("Warning - HandleTransform netId:" + networkInstanceId + " is not for a valid player");
}
}
}

View File

@ -3,7 +3,7 @@ using System.Text;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNetworkWriter
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBNotReadyMessage : QSBEmptyMessage
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBObjectDestroyMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBObjectSpawnFinishedMessage : QSBMessageBase
{

View File

@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBObjectSpawnMessage : QSBMessageBase
{

View File

@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBObjectSpawnSceneMessage : QSBMessageBase
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBOwnerMessage : QSBMessageBase
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBPeerAuthorityMessage : QSBMessageBase
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBPeerInfoMessage : QSBMessageBase
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public struct QSBPeerInfoPlayer
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBPeerListMessage : QSBMessageBase
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBPlayerController
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBReadyMessage : QSBEmptyMessage
{

View File

@ -1,6 +1,6 @@
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBReconnectMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBRemovePlayerMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBStringMessage : QSBMessageBase
{

View File

@ -1,4 +1,4 @@
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBULocalConnectionToClient : QSBNetworkConnection
{

View File

@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.Networking;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
internal class QSBULocalConnectionToServer : QSBNetworkConnection
{

View File

@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.Networking.Types;
namespace QSB.QuantumUNET
namespace QuantumUNET
{
public class QSBUtility
{

View File

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C8C53004-1508-4F86-A419-4292C188DC2A}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>QuantumUNET</RootNamespace>
<AssemblyName>QuantumUNET</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=1.2.0.1, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Lib.Harmony.1.2.0.1\lib\net35\0Harmony.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>
</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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AnimationModule">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.AnimationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UNETModule">
<HintPath>D:\EpicGames\OuterWilds\OuterWilds_Data\Managed\UnityEngine.UNETModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="QSBAddPlayerMessage.cs" />
<Compile Include="QSBAnimationMessage.cs" />
<Compile Include="QSBAnimationParametersMessage.cs" />
<Compile Include="QSBAnimationTriggerMessage.cs" />
<Compile Include="QSBChannelBuffer.cs" />
<Compile Include="QSBChannelPacket.cs" />
<Compile Include="QSBClientAuthorityMessage.cs" />
<Compile Include="QSBClientScene.cs" />
<Compile Include="QSBCRCMessage.cs" />
<Compile Include="QSBCRCMessageEntry.cs" />
<Compile Include="QSBEmptyMessage.cs" />
<Compile Include="QSBErrorMessage.cs" />
<Compile Include="QSBLocalClient.cs" />
<Compile Include="QSBMessageBase.cs" />
<Compile Include="QSBNetBuffer.cs" />
<Compile Include="QSBNetworkAnimator.cs" />
<Compile Include="QSBNetworkBehaviour.cs" />
<Compile Include="QSBNetworkClient.cs" />
<Compile Include="QSBNetworkConnection.cs" />
<Compile Include="QSBNetworkCRC.cs" />
<Compile Include="QSBNetworkIdentity.cs" />
<Compile Include="QSBNetworkManagerHUD.cs" />
<Compile Include="QSBNetworkManagerUNET.cs" />
<Compile Include="QSBNetworkMessage.cs" />
<Compile Include="QSBNetworkMessageDelegate.cs" />
<Compile Include="QSBNetworkMessageHandlers.cs" />
<Compile Include="QSBNetworkMigrationManager.cs" />
<Compile Include="QSBNetworkReader.cs" />
<Compile Include="QSBNetworkScene.cs" />
<Compile Include="QSBNetworkServer.cs" />
<Compile Include="QSBNetworkServerSimple.cs" />
<Compile Include="QSBNetworkTransform.cs" />
<Compile Include="QSBNetworkWriter.cs" />
<Compile Include="QSBNotReadyMessage.cs" />
<Compile Include="QSBObjectDestroyMessage.cs" />
<Compile Include="QSBObjectSpawnFinishedMessage.cs" />
<Compile Include="QSBObjectSpawnMessage.cs" />
<Compile Include="QSBObjectSpawnSceneMessage.cs" />
<Compile Include="QSBOwnerMessage.cs" />
<Compile Include="QSBPeerAuthorityMessage.cs" />
<Compile Include="QSBPeerInfoMessage.cs" />
<Compile Include="QSBPeerInfoPlayer.cs" />
<Compile Include="QSBPeerListMessage.cs" />
<Compile Include="QSBPlayerController.cs" />
<Compile Include="QSBReadyMessage.cs" />
<Compile Include="QSBReconnectMessage.cs" />
<Compile Include="QSBRemovePlayerMessage.cs" />
<Compile Include="QSBStringMessage.cs" />
<Compile Include="QSBULocalConnectionToClient.cs" />
<Compile Include="QSBULocalConnectionToServer.cs" />
<Compile Include="QSBUtility.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy /y "$(TargetPath)" "$(OwmlDir)\Mods\QSB"</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<GameDir>D:\EpicGames\OuterWilds</GameDir>
<OwmlDir>C:\Users\Henry\AppData\Roaming\OuterWildsModManager\OWML</OwmlDir>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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" />
</packages>