Commit e44a5614 by kaisa

feat:更新

parent fd4d9056
Showing with 3 additions and 2 deletions
...@@ -897,13 +897,14 @@ webAppComm.prototype.backOriginApp = function () { ...@@ -897,13 +897,14 @@ webAppComm.prototype.backOriginApp = function () {
} }
// 57:开启/加入游戏房间 // 57:开启/加入游戏房间
webAppComm.prototype.joinGameRoom = function (isOpenGameRoom, roomId) { webAppComm.prototype.joinGameRoom = function (isOpenGameRoom, roomId, gameType) {
let obj = { let obj = {
"cid": 57, "cid": 57,
"data": { "data": {
"msg": '开启/加入游戏房间', "msg": '开启/加入游戏房间',
"isOpenGameRoom": isOpenGameRoom, //0 开启房间 1 加入房间 "isOpenGameRoom": isOpenGameRoom, //0 开启房间 1 加入房间
"roomId": roomId "roomId": roomId,
"gameType": gameType, //游戏类型 1001:LUDO (后续增加)
} }
} }
let obj2 = JSON.stringify(obj); let obj2 = JSON.stringify(obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment