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
e477dc8a
Commit
e477dc8a
authored
Apr 01, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/sort_card' into 'main'
fix sort_card See merge request
!41
parents
fb92cd6f
0c283e9a
Pipeline
#21055
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
idl/ocgcore.proto
idl/ocgcore.proto
+4
-1
No files found.
idl/ocgcore.proto
View file @
e477dc8a
...
@@ -168,6 +168,9 @@ message CtosGameMsgResponse {
...
@@ -168,6 +168,9 @@ message CtosGameMsgResponse {
message
SelectCounterResponse
{
message
SelectCounterResponse
{
repeated
int32
selected_count
=
1
;
// 后端传给端上的每个Option都要返回选择值
repeated
int32
selected_count
=
1
;
// 后端传给端上的每个Option都要返回选择值
}
}
message
SortCardResponse
{
repeated
int32
sorted_index
=
1
;
// 排序后的index
}
oneof
gameMsgResponse
{
oneof
gameMsgResponse
{
SelectIdleCmdResponse
select_idle_cmd
=
1
;
SelectIdleCmdResponse
select_idle_cmd
=
1
;
...
@@ -180,11 +183,11 @@ message CtosGameMsgResponse {
...
@@ -180,11 +183,11 @@ message CtosGameMsgResponse {
SelectBattleCmdResponse
select_battle_cmd
=
8
;
SelectBattleCmdResponse
select_battle_cmd
=
8
;
SelectUnselectCardResponse
select_unselect_card
=
9
;
SelectUnselectCardResponse
select_unselect_card
=
9
;
SelectCounterResponse
select_counter_response
=
10
;
SelectCounterResponse
select_counter_response
=
10
;
SortCardResponse
sort_card
=
11
;
}
}
}
}
// ----- STOC -----
// ----- STOC -----
// 服务端告诉前端/客户端已成功加入房间,
// 服务端告诉前端/客户端已成功加入房间,
// 附带上对局的信息
// 附带上对局的信息
message
StocJoinGame
{
message
StocJoinGame
{
...
...
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