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
ff89698e
Commit
ff89698e
authored
Mar 26, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/select_counter' into 'main'
add select counter See merge request
!39
parents
76135099
bbf12d0a
Pipeline
#20944
passed with stage
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
idl/ocgcore.proto
idl/ocgcore.proto
+19
-0
No files found.
idl/ocgcore.proto
View file @
ff89698e
...
...
@@ -165,6 +165,9 @@ message CtosGameMsgResponse {
bool
cancel_or_finish
=
1
;
// 如果玩家取消了选择或者完成了选择,传-1给后端
int32
selected_ptr
=
2
;
// 玩家本轮的选择
}
message
SelectCounterResponse
{
repeated
int32
selected_count
=
1
;
// 后端传给端上的每个Option都要返回选择值
}
oneof
gameMsgResponse
{
SelectIdleCmdResponse
select_idle_cmd
=
1
;
...
...
@@ -176,6 +179,7 @@ message CtosGameMsgResponse {
SelectOptionResponse
select_option
=
7
;
SelectBattleCmdResponse
select_battle_cmd
=
8
;
SelectUnselectCardResponse
select_unselect_card
=
9
;
SelectCounterResponse
select_counter_response
=
10
;
}
}
...
...
@@ -648,6 +652,20 @@ message StocGameMessage {
int32
count
=
4
;
// 改变的数量
}
// 选择指示器
message
MsgSelectCounter
{
message
Info
{
int32
code
=
1
;
CardLocation
location
=
2
;
int32
counter_count
=
3
;
}
int32
player
=
1
;
// 玩家编号
int32
counter_type
=
2
;
// 指示器类型
int32
min
=
3
;
repeated
Info
options
=
4
;
}
// 断线重连
message
MsgReloadField
{
message
ZoneAction
{
...
...
@@ -703,5 +721,6 @@ message StocGameMessage {
MsgSelectSum
select_sum
=
25
;
MsgSelectTribute
select_tribute
=
26
;
MsgUpdateCounter
update_counter
=
27
;
MsgSelectCounter
select_counter
=
28
;
}
}
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