This commit is contained in:
y.x 2020-12-07 10:54:41 +08:00
commit 3e3b359e79

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