Changed ClientAPI to InteractionAPI.

This commit is contained in:
Harrison Deng 2021-04-21 02:00:50 -05:00
parent 2b5a43f95f
commit 4df970a542
26 changed files with 49 additions and 49 deletions

View File

@ -1,9 +0,0 @@
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.ClientAPI.Communicable.Requests
{
public struct ServiceRequest
{
public ServiceManagerAction serviceManagerAction;
}
}

View File

@ -1,9 +0,0 @@
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.ClientAPI.Communicable.Responses
{
public struct DeltaResponse
{
public ServiceManagerTotal gameServiceDelta;
}
}

View File

@ -1,8 +0,0 @@
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.ClientAPI.Communicable.Responses
{
public struct ViewResponse {
public ServiceManagerTotal state;
}
}

View File

@ -2,7 +2,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" /> <ProjectReference Include="..\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" />
<ProjectReference Include="..\GameServiceWarden.ClientAPI\GameServiceWarden.ClientAPI.csproj" /> <ProjectReference Include="..\GameServiceWarden.InteractionAPI\GameServiceWarden.InteractionAPI.csproj" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>

View File

@ -1,4 +1,4 @@
using GameServiceWarden.ClientAPI.Module; using GameServiceWarden.InteractionAPI.Module;
namespace GameServiceWarden.Core.Module namespace GameServiceWarden.Core.Module
{ {

View File

@ -1,4 +1,4 @@
using GameServiceWarden.ClientAPI.Module; using GameServiceWarden.InteractionAPI.Module;
namespace GameServiceWarden.Core.Module namespace GameServiceWarden.Core.Module
{ {

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;
using GameServiceWarden.ClientAPI.Module; using GameServiceWarden.InteractionAPI.Module;
using GameServiceWarden.Core.Persistence; using GameServiceWarden.Core.Persistence;
using GameServiceWarden.ModuleAPI; using GameServiceWarden.ModuleAPI;
using GameServiceWarden.Core.Collection; using GameServiceWarden.Core.Collection;

View File

@ -1,7 +1,7 @@
using System.Diagnostics; using System.Diagnostics;
using System.Text.Json; using System.Text.Json;
using GameServiceWarden.ClientAPI; using GameServiceWarden.InteractionAPI;
using GameServiceWarden.ClientAPI.Communicable.Requests; using GameServiceWarden.InteractionAPI.Communicable.Requests;
using GameServiceWarden.Core.Module; using GameServiceWarden.Core.Module;
using GameServiceWarden.Core.Logging; using GameServiceWarden.Core.Logging;

View File

@ -7,9 +7,9 @@ using System.Net.Sockets;
using System.Text.Json; using System.Text.Json;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using GameServiceWarden.ClientAPI; using GameServiceWarden.InteractionAPI;
using GameServiceWarden.ClientAPI.Communicable.Requests; using GameServiceWarden.InteractionAPI.Communicable.Requests;
using GameServiceWarden.ClientAPI.Communicable.Responses; using GameServiceWarden.InteractionAPI.Communicable.Responses;
using GameServiceWarden.Core.Logging; using GameServiceWarden.Core.Logging;
namespace GameServiceWarden.Core.UI namespace GameServiceWarden.Core.UI

View File

@ -1,7 +1,7 @@
using System.Text.Json; using System.Text.Json;
using System.Threading.Tasks; using System.Threading.Tasks;
using GameServiceWarden.ClientAPI; using GameServiceWarden.InteractionAPI;
using GameServiceWarden.ClientAPI.Module; using GameServiceWarden.InteractionAPI.Module;
using GameServiceWarden.Core.Module; using GameServiceWarden.Core.Module;
namespace GameServiceWarden.Core.UI namespace GameServiceWarden.Core.UI

View File

@ -1,6 +1,6 @@
using System; using System;
namespace GameServiceWarden.ClientAPI namespace GameServiceWarden.InteractionAPI
{ {
public enum CommunicableType : uint public enum CommunicableType : uint
{ {

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.ClientAPI.Communicable.Requests namespace GameServiceWarden.InteractionAPI.Communicable.Requests
{ {
public struct ConnectRequest public struct ConnectRequest
{ {

View File

@ -0,0 +1,9 @@
using GameServiceWarden.InteractionAPI.Module;
namespace GameServiceWarden.InteractionAPI.Communicable.Requests
{
public struct ServiceRequest
{
public ServiceManagerAction serviceManagerAction;
}
}

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.ClientAPI namespace GameServiceWarden.InteractionAPI
{ {
public struct DisconnectRequest public struct DisconnectRequest
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.IO.Pipes; using System.IO.Pipes;
namespace GameServiceWarden.ClientAPI.Communicable.Requests namespace GameServiceWarden.InteractionAPI.Communicable.Requests
{ {
public static class RequestHeader public static class RequestHeader
{ {

View File

@ -1,6 +1,6 @@
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;
namespace GameServiceWarden.ClientAPI.Communicable.Responses namespace GameServiceWarden.InteractionAPI.Communicable.Responses
{ {
public struct ConnectResponse public struct ConnectResponse
{ {

View File

@ -0,0 +1,9 @@
using GameServiceWarden.InteractionAPI.Module;
namespace GameServiceWarden.InteractionAPI.Communicable.Responses
{
public struct DeltaResponse
{
public ServiceManagerTotal gameServiceDelta;
}
}

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.ClientAPI namespace GameServiceWarden.InteractionAPI
{ {
public struct DisconnectResponse public struct DisconnectResponse
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace GameServiceWarden.ClientAPI.Communicable.Responses namespace GameServiceWarden.InteractionAPI.Communicable.Responses
{ {
public static class ResponseHeader public static class ResponseHeader
{ {

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.ClientAPI.Communicable.Responses namespace GameServiceWarden.InteractionAPI.Communicable.Responses
{ {
public struct UnexpectedRequestResponse public struct UnexpectedRequestResponse
{ {

View File

@ -0,0 +1,8 @@
using GameServiceWarden.InteractionAPI.Module;
namespace GameServiceWarden.InteractionAPI.Communicable.Responses
{
public struct ViewResponse {
public ServiceManagerTotal state;
}
}

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.ClientAPI.Module namespace GameServiceWarden.InteractionAPI.Module
{ {
public struct ServiceManagerAction public struct ServiceManagerAction
{ {

View File

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace GameServiceWarden.ClientAPI.Module namespace GameServiceWarden.InteractionAPI.Module
{ {
public struct ServiceManagerDelta public struct ServiceManagerDelta
{ {

View File

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace GameServiceWarden.ClientAPI.Module namespace GameServiceWarden.InteractionAPI.Module
{ {
public struct ServiceManagerTotal public struct ServiceManagerTotal
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using GameServiceWarden.ClientAPI.Module; using GameServiceWarden.InteractionAPI.Module;
using GameServiceWarden.Core.Module; using GameServiceWarden.Core.Module;
namespace GameServiceWarden.Core.Tests.Modules namespace GameServiceWarden.Core.Tests.Modules