From 7f982dc3431c76dda4f1f6f653a8114bf39036b2 Mon Sep 17 00:00:00 2001 From: zhl Date: Mon, 7 Dec 2020 10:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=B6=88=E6=81=AF=E9=98=9F?= =?UTF-8?q?=E5=88=97=E4=B8=AD=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/MSender.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rooms/MSender.ts b/src/rooms/MSender.ts index b761cb3..3f91a6e 100644 --- a/src/rooms/MSender.ts +++ b/src/rooms/MSender.ts @@ -70,13 +70,13 @@ Object.defineProperties(Room.prototype, { }, sMsgQueue: { - value: function (client:Client, datas?: PetInfoMsg) { + value: function (client:Client, datas?: IMsg) { client.send("msg_queue_s2c", datas); } }, bMsgQueue: { - value: function (datas?: PetInfoMsg, options?: any) { + value: function (datas?: IMsg, options?: any) { this.broadcast("msg_queue_s2c", datas, options); } },