Skip to content

Commit

Permalink
client started
Browse files Browse the repository at this point in the history
  • Loading branch information
WeylonSantana committed Nov 26, 2024
1 parent 755cc51 commit e8448b6
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 32 deletions.
15 changes: 0 additions & 15 deletions Intersect.Client.Core/Intersect.Client.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,6 @@
<ProjectReference Include="..\Intersect.Network\Intersect.Network.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<ItemGroup Label="Project Embedded Resources">
<EmbeddedResource Include="$(NetworkHandshakePublicKey)" />
<EmbeddedResource Include="$(IntersectRepoPath)\assets\intersect-logo-qu.bmp">
Expand Down
4 changes: 2 additions & 2 deletions Intersect.Client.Core/MonoGame/Network/MonoSocket.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Net;
Expand Down Expand Up @@ -45,7 +45,7 @@ internal partial class MonoSocket : GameSocket
private const long ServerStatusPingInterval = 15_000;
#endif

private const string AsymmetricKeyManifestResourceName = "Intersect.Client.network.handshake.bkey.pub";
private const string AsymmetricKeyManifestResourceName = "Intersect.Client.Core.network.handshake.bkey.pub";

private IClient? _network;

Expand Down
2 changes: 1 addition & 1 deletion Intersect.Client.Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private static void ExportDependency(string filename, string? folder = default,
{
cleanFolder += '.';
}
var resourceName = $"Intersect.Client.Resources.{cleanFolder}{filename}";
var resourceName = $"Intersect.Client.Core.Resources.{cleanFolder}{filename}";

if (assembly.GetManifestResourceNames().Contains(resourceName))
{
Expand Down
15 changes: 15 additions & 0 deletions Intersect.Client/Intersect.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,19 @@
<ProjectReference Include="..\Intersect.Client.Core\Intersect.Client.Core.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<Generator>ResXFileCodeGenerator</Generator>
</EmbeddedResource>
</ItemGroup>

</Project>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

0 comments on commit e8448b6

Please sign in to comment.