Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0593f463
authored
May 06, 2026
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:新增cid:57 开启加入游戏房间
parent
3fa0f482
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
js/webAppComm.js
js/webAppComm.js
View file @
0593f463
...
@@ -867,6 +867,20 @@ webAppComm.prototype.backOriginApp = function () {
...
@@ -867,6 +867,20 @@ webAppComm.prototype.backOriginApp = function () {
webAppCollaboration
(
obj2
);
webAppCollaboration
(
obj2
);
}
}
// 57:开启/加入游戏房间
webAppComm
.
prototype
.
joinGameRoom
=
function
(
isOpenGameRoom
,
roomId
)
{
let
obj
=
{
"cid"
:
57
,
"data"
:
{
"msg"
:
'开启/加入游戏房间'
,
"isOpenGameRoom"
:
isOpenGameRoom
,
//0 开启房间 1 加入房间
"roomId"
:
roomId
}
}
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
// 58: 告知客户端是否打开原生侧滑返回手势(flutter使用)
// 58: 告知客户端是否打开原生侧滑返回手势(flutter使用)
webAppComm
.
prototype
.
setNativeSwipeBackEnabled
=
function
(
enabled
)
{
webAppComm
.
prototype
.
setNativeSwipeBackEnabled
=
function
(
enabled
)
{
let
obj
=
{
let
obj
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment