Removed refrences

This commit is contained in:
Garrett
2024-01-13 18:21:52 -06:00
parent fcf7814790
commit 15c1e824f5
3 changed files with 14 additions and 10 deletions

View File

@@ -180,13 +180,14 @@ namespace SeamlessClient.ServerSwitching
} }
SendPlayerData.Invoke(MyMultiplayer.Static, new object[] { MyGameService.OnlineName }); SendPlayerData.Invoke(MyMultiplayer.Static, new object[] { MyGameService.OnlineName });
isSwitch = false;
} }
} }
public static bool LoadClientsFromWorld(ref List<MyObjectBuilder_Client> clients) public static bool LoadClientsFromWorld(ref List<MyObjectBuilder_Client> clients)
{ {
if(clients == null || clients.Count == 0) if(!isSwitch || clients == null || clients.Count == 0)
return false; return true;
//Dictionary<ulong, MyConnectedClientData> //Dictionary<ulong, MyConnectedClientData>
@@ -209,13 +210,16 @@ namespace SeamlessClient.ServerSwitching
} }
return true; return false;
} }
private static bool ProcessAllMembersData(ref AllMembersDataMsg msg) private static bool ProcessAllMembersData(ref AllMembersDataMsg msg)
{ {
if(!isSwitch)
return true;
Sync.Players.ClearIdentities(); Sync.Players.ClearIdentities();
if (msg.Identities != null) if (msg.Identities != null)
@@ -610,11 +614,6 @@ namespace SeamlessClient.ServerSwitching
PauseClient.Invoke(MyMultiplayer.Static, new object[] { false }); PauseClient.Invoke(MyMultiplayer.Static, new object[] { false });
MySandboxGame.PausePop(); MySandboxGame.PausePop();
MyHud.Notifications.Remove(MyNotificationSingletons.ConnectionProblem); MyHud.Notifications.Remove(MyNotificationSingletons.ConnectionProblem);
isSwitch = false;
} }

View File

@@ -37,7 +37,7 @@ namespace SeamlessClient
private bool Initilized = false; private bool Initilized = false;
public static bool isSeamlessServer { get; private set; } = false; public static bool isSeamlessServer { get; private set; } = false;
public static bool isDebug = false; public static bool isDebug = false;
public static bool UseNewVersion = false; public static bool UseNewVersion = true;

View File

@@ -40,10 +40,12 @@
</Reference> </Reference>
<Reference Include="ProtoBuf.Net"> <Reference Include="ProtoBuf.Net">
<HintPath>GameBinaries\ProtoBuf.Net.dll</HintPath> <HintPath>GameBinaries\ProtoBuf.Net.dll</HintPath>
<Private>False</Private>
</Reference> </Reference>
<Reference Include="ProtoBuf.Net.Core, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="ProtoBuf.Net.Core, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>GameBinaries\ProtoBuf.Net.Core.dll</HintPath> <HintPath>GameBinaries\ProtoBuf.Net.Core.dll</HintPath>
<Private>False</Private>
</Reference> </Reference>
<Reference Include="Sandbox.Common"> <Reference Include="Sandbox.Common">
<HintPath>GameBinaries\Sandbox.Common.dll</HintPath> <HintPath>GameBinaries\Sandbox.Common.dll</HintPath>
@@ -85,13 +87,16 @@
<HintPath>GameBinaries\VRage.Input.dll</HintPath> <HintPath>GameBinaries\VRage.Input.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
<Reference Include="VRage.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> <Reference Include="VRage.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<Private>False</Private>
</Reference>
<Reference Include="VRage.Math"> <Reference Include="VRage.Math">
<HintPath>GameBinaries\VRage.Math.dll</HintPath> <HintPath>GameBinaries\VRage.Math.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
<Reference Include="VRage.Render"> <Reference Include="VRage.Render">
<HintPath>GameBinaries\VRage.Render.dll</HintPath> <HintPath>GameBinaries\VRage.Render.dll</HintPath>
<Private>False</Private>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>