修正消息队列中数据结构定义错误

This commit is contained in:
zhl 2020-12-07 10:54:07 +08:00
parent 5443d0a307
commit 7f982dc343

View File

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