Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos Protobuf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos Protobuf
Commits
0897037b
Commit
0897037b
authored
Dec 18, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CtosGameMsgResponse and add response field in MsgSelectIdleCmd
parent
cd2ef52b
Pipeline
#18645
passed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
idl/ocgcore.proto
idl/ocgcore.proto
+9
-0
No files found.
idl/ocgcore.proto
View file @
0897037b
...
...
@@ -16,6 +16,7 @@ message YgoCtosMsg {
CtosHandResult
ctos_hand_result
=
7
;
CtosTpResult
ctos_tp_result
=
8
;
CtosTimeConfirm
ctos_time_confirm
=
9
;
CtosGameMsgResponse
ctos_response
=
10
;
}
}
...
...
@@ -84,6 +85,13 @@ message CtosTpResult {
// 确认计时
message
CtosTimeConfirm
{}
// 决斗对局内协议
message
CtosGameMsgResponse
{
message
SelectIdleCmdResponse
{
int32
code
=
1
;
}
oneof
gameMsgResponse
{
SelectIdleCmdResponse
select_idle_cmd
=
1
;
}
}
// ----- STOC -----
// 服务端告诉前端/客户端已成功加入房间,
...
...
@@ -285,6 +293,7 @@ message StocGameMessage {
CardInfo
card_info
=
1
;
int32
effect_description
=
2
;
// `IdleType`为`ACTIVATE`时才会设置这个字段
int32
response
=
3
;
// 当用户选择该操作项时,把这个值回传给服务端
}
IdleType
idle_type
=
1
;
...
...
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