Renamed subprojects and changed namespace names.
This commit is contained in:
parent
f5a181d2f2
commit
f61bbd3a9e
2
build.sh
2
build.sh
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
dotnet build -v n src/GameServiceWarden.API.Module
|
||||
dotnet build -v n src/GameServiceWarden.ModuleAPI
|
||||
dotnet build -v n src/GameServiceWarden.Core
|
@ -1,7 +0,0 @@
|
||||
namespace GameServiceWarden.API.Communicable
|
||||
{
|
||||
public struct DisconnectRequest
|
||||
{
|
||||
string reason;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable
|
||||
namespace GameServiceWarden.ClientAPI
|
||||
{
|
||||
public enum CommunicableType : uint
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable
|
||||
namespace GameServiceWarden.ClientAPI
|
||||
{
|
||||
public interface ICommunicable
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Communicable.Requests
|
||||
namespace GameServiceWarden.ClientAPI.Requests
|
||||
{
|
||||
public struct ConnectRequest : ICommunicable
|
||||
{
|
@ -0,0 +1,7 @@
|
||||
namespace GameServiceWarden.ClientAPI
|
||||
{
|
||||
public struct DisconnectRequest
|
||||
{
|
||||
public string reason;
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.IO.Pipes;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable.Requests
|
||||
namespace GameServiceWarden.ClientAPI.Requests
|
||||
{
|
||||
public static class RequestHeader
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable.Requests
|
||||
namespace GameServiceWarden.ClientAPI.Requests
|
||||
{
|
||||
public struct ServiceRequest : ICommunicable
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable.Responses
|
||||
namespace GameServiceWarden.ClientAPI.Responses
|
||||
{
|
||||
public struct ConnectResponse : ICommunicable
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Communicable
|
||||
namespace GameServiceWarden.ClientAPI
|
||||
{
|
||||
public struct DisconnectResponse
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable.Responses
|
||||
namespace GameServiceWarden.ClientAPI.Responses
|
||||
{
|
||||
public static class ResponseHeader
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
|
||||
namespace GameServiceWarden.API.Communicable.Responses
|
||||
namespace GameServiceWarden.ClientAPI.Responses
|
||||
{
|
||||
public struct ServiceResponse : ICommunicable
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Communicable.Responses
|
||||
namespace GameServiceWarden.ClientAPI.Responses
|
||||
{
|
||||
public struct UnexpectedRequestResponse : ICommunicable
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Games
|
||||
namespace GameServiceWarden.ClientAPI.Module
|
||||
{
|
||||
public struct ServiceManagerAction
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GameServiceWarden.API.Games
|
||||
namespace GameServiceWarden.ClientAPI.Module
|
||||
{
|
||||
public struct ServiceManagerState
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\GameServiceWarden.API.Module\GameServiceWarden.API.Module.csproj" />
|
||||
<ProjectReference Include="..\GameServiceWarden.API\GameServiceWarden.API.csproj" />
|
||||
<ProjectReference Include="..\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" />
|
||||
<ProjectReference Include="..\GameServiceWarden.ClientAPI\GameServiceWarden.ClientAPI.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
@ -1,4 +1,4 @@
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
|
||||
namespace GameServiceWarden.Core.Module
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
|
||||
namespace GameServiceWarden.Core.Module
|
||||
{
|
||||
|
@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using GameServiceWarden.Core.Module.Exceptions;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Module
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using GameServiceWarden.Core.Module.Exceptions;
|
||||
using GameServiceWarden.Core.Logging;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using System.Net.Sockets;
|
||||
|
||||
//TODO Update UML
|
||||
|
@ -2,9 +2,9 @@ using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
using GameServiceWarden.Core.Persistence;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using GameServiceWarden.Core.Collection;
|
||||
|
||||
namespace GameServiceWarden.Core.Module
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Persistence
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace GameServiceWarden.Core.Persistence
|
||||
|
@ -4,7 +4,7 @@ using System.Collections.ObjectModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Persistence
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Diagnostics;
|
||||
using System.Text.Json;
|
||||
using GameServiceWarden.API.Communicable;
|
||||
using GameServiceWarden.API.Communicable.Requests;
|
||||
using GameServiceWarden.ClientAPI;
|
||||
using GameServiceWarden.ClientAPI.Requests;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.Core.Logging;
|
||||
|
||||
|
@ -7,9 +7,9 @@ using System.Net.Sockets;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using GameServiceWarden.API.Communicable;
|
||||
using GameServiceWarden.API.Communicable.Requests;
|
||||
using GameServiceWarden.API.Communicable.Responses;
|
||||
using GameServiceWarden.ClientAPI;
|
||||
using GameServiceWarden.ClientAPI.Requests;
|
||||
using GameServiceWarden.ClientAPI.Responses;
|
||||
using GameServiceWarden.Core.Logging;
|
||||
|
||||
namespace GameServiceWarden.Core.UI
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using GameServiceWarden.API.Communicable;
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
using GameServiceWarden.Core.Module;
|
||||
|
||||
namespace GameServiceWarden.Core.UI
|
||||
|
@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace GameServiceWarden.API.Module
|
||||
namespace GameServiceWarden.ModuleAPI
|
||||
{
|
||||
public interface IService
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Module
|
||||
namespace GameServiceWarden.ModuleAPI
|
||||
{
|
||||
public interface IServiceConfigurable
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GameServiceWarden.API.Module
|
||||
namespace GameServiceWarden.ModuleAPI
|
||||
{
|
||||
public interface IServiceModule
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace GameServiceWarden.API.Module
|
||||
namespace GameServiceWarden.ModuleAPI
|
||||
{
|
||||
public enum ServiceState
|
||||
{
|
@ -15,7 +15,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\GameServiceWarden.Core\GameServiceWarden.Core.csproj" />
|
||||
<ProjectReference Include="..\..\src\GameServiceWarden.API.Module\GameServiceWarden.API.Module.csproj" />
|
||||
<ProjectReference Include="..\..\src\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Modules
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Modules
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using GameServiceWarden.API.Games;
|
||||
using GameServiceWarden.ClientAPI.Module;
|
||||
using GameServiceWarden.Core.Module;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Modules
|
||||
|
@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Modules
|
||||
{
|
||||
|
@ -2,7 +2,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.Core.Logging;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
using System.Text;
|
||||
|
@ -6,7 +6,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.Core.Logging;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
using System.Text;
|
||||
|
@ -3,7 +3,7 @@ using System.IO;
|
||||
using GameServiceWarden.Core.Module;
|
||||
using GameServiceWarden.Core.Persistence;
|
||||
using GameServiceWarden.Core.Tests.Modules;
|
||||
using GameServiceWarden.API.Module;
|
||||
using GameServiceWarden.ModuleAPI;
|
||||
using Xunit;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Persistence
|
||||
|
Reference in New Issue
Block a user