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
a9518b57
Commit
a9518b57
authored
Mar 26, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add select counter
parent
76135099
Pipeline
#20942
failed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
idl/ocgcore.proto
idl/ocgcore.proto
+21
-2
No files found.
idl/ocgcore.proto
View file @
a9518b57
...
...
@@ -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,8 +652,22 @@ message StocGameMessage {
int32
count
=
4
;
// 改变的数量
}
// 断线重连
message
MsgReloadField
{
// 选择指示器
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
{
CardZone
zone
=
1
;
int32
sequence
=
2
;
...
...
@@ -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