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