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); } },