From 92b66986655bf72166f73e2a3b9215571a1e7818 Mon Sep 17 00:00:00 2001 From: fangxiang Date: Tue, 29 Nov 2022 15:35:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E5=AE=AB?= =?UTF-8?q?=E6=A0=BC=E8=A1=8C=E5=88=97=E6=8E=A5=E5=8F=A3=E4=B8=BA=E4=B8=80?= =?UTF-8?q?=E6=9D=A1=E6=8C=87=E4=BB=A4=EF=BC=8C=E9=81=BF=E5=85=8D=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E9=87=8D=E5=A4=8D=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/ClientConnection.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts index 68481fa..34496b7 100644 --- a/src/common/ClientConnection.ts +++ b/src/common/ClientConnection.ts @@ -695,7 +695,7 @@ export default class ClientConnection { } public setWallRowCol(wall_row: number, wall_col: number) { - this.ws?.send( + /*this.ws?.send( JSON.stringify( new Protocol.SetApplicationConfigRequestEntity( 0, @@ -712,6 +712,15 @@ export default class ClientConnection { wall_col.toString() ) ) + );*/ + this.ws?.send( + JSON.stringify( + new Protocol.SetApplicationConfigRequestEntity( + 0, + "wall_row_col", + wall_row.toString() + "X" + wall_col.toString() + ) + ) ); }