From 6b42db9ecbffca397a9b3b95fbba611a653becd9 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Mon, 11 Sep 2023 15:32:42 +0800 Subject: [PATCH] =?UTF-8?q?[del]=20=E6=B2=92=E7=94=A8=E6=AA=94=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- .../NetManagerV2/Core/INetConnector.ts | 15 --------------- .../CatanEngine/NetManagerV2/Core/INetRequest.ts | 13 ------------- .../CatanEngine/NetManagerV2/Core/INetResponse.ts | 10 ---------- src/Engine/CatanEngine/NetManagerV2/NetConfig.ts | 4 ---- 5 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 src/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts delete mode 100644 src/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts delete mode 100644 src/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts delete mode 100644 src/Engine/CatanEngine/NetManagerV2/NetConfig.ts diff --git a/Dockerfile b/Dockerfile index 78a75a6..d5801d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # sudo docker build -t guesswhoiams . -# sudo docker exec -it 51bd6c84a7f2 /bin/bash +# # sudo docker exec -it 51bd6c84a7f2 /bin/bash FROM node:19.4.0 diff --git a/src/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts b/src/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts deleted file mode 100644 index 343bb96..0000000 --- a/src/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Action } from "../../CSharp/System/Action"; -import { INetRequest } from "./INetRequest"; -import { INetResponse } from "./INetResponse"; - -export interface INetConnector { - readonly OnDataReceived: Action>; - readonly OnDisconnected: Action; - readonly IsConnected: boolean; - - SendAsync(req: INetRequest): Iterator; - - Send(req: INetRequest); - - Logout(); -} \ No newline at end of file diff --git a/src/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts b/src/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts deleted file mode 100644 index 602b005..0000000 --- a/src/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { INetResponse } from "./INetResponse"; - -export interface INetRequest { - readonly Method: string; - readonly MethodBack: string; - - Data: TRequest; - Result: INetResponse; - - // SendAsync(): Iterator; - - // Send(); -} \ No newline at end of file diff --git a/src/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts b/src/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts deleted file mode 100644 index 8838fbc..0000000 --- a/src/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -import Client from "../../../../component/Client/Client"; - - -export interface INetResponse { - readonly Method: string - readonly WS?: Client - readonly Status: number - readonly Data: TResponse - readonly IsValid?: boolean -} \ No newline at end of file diff --git a/src/Engine/CatanEngine/NetManagerV2/NetConfig.ts b/src/Engine/CatanEngine/NetManagerV2/NetConfig.ts deleted file mode 100644 index dfd5645..0000000 --- a/src/Engine/CatanEngine/NetManagerV2/NetConfig.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default class NetConfig { - /** 是否顯示RPC接送JSON的LOG */ - public static ShowServerLog: boolean = true; -} \ No newline at end of file