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
4a966691
Commit
4a966691
authored
Jan 08, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add stoc and ctos select_option proto
parent
836412c2
Pipeline
#19241
passed with stage
in 21 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 @
4a966691
...
@@ -151,6 +151,7 @@ message CtosGameMsgResponse {
...
@@ -151,6 +151,7 @@ message CtosGameMsgResponse {
message
SelectChainResponse
{
int32
selected_ptr
=
1
;
}
message
SelectChainResponse
{
int32
selected_ptr
=
1
;
}
message
SelectEffectYnResponse
{
bool
selected
=
1
;
}
message
SelectEffectYnResponse
{
bool
selected
=
1
;
}
message
SelectPositionResponse
{
CardPosition
position
=
1
;
}
message
SelectPositionResponse
{
CardPosition
position
=
1
;
}
message
SelectOptionResponse
{
int32
code
=
1
;
}
oneof
gameMsgResponse
{
oneof
gameMsgResponse
{
SelectIdleCmdResponse
select_idle_cmd
=
1
;
SelectIdleCmdResponse
select_idle_cmd
=
1
;
...
@@ -159,6 +160,7 @@ message CtosGameMsgResponse {
...
@@ -159,6 +160,7 @@ message CtosGameMsgResponse {
SelectChainResponse
select_chain
=
4
;
SelectChainResponse
select_chain
=
4
;
SelectEffectYnResponse
select_effect_yn
=
5
;
SelectEffectYnResponse
select_effect_yn
=
5
;
SelectPositionResponse
select_position
=
6
;
SelectPositionResponse
select_position
=
6
;
SelectOptionResponse
select_option
=
7
;
}
}
}
}
...
@@ -447,6 +449,12 @@ message StocGameMessage {
...
@@ -447,6 +449,12 @@ message StocGameMessage {
repeated
SelectAblePosition
positions
=
3
;
// 可选表示形式
repeated
SelectAblePosition
positions
=
3
;
// 可选表示形式
}
}
// 选项选择
message
MsgSelectOption
{
int32
player
=
1
;
// 玩家编号
repeated
int32
options
=
2
;
// 可选项,一般是某张卡的效果
}
oneof
gameMsg
{
oneof
gameMsg
{
MsgStart
start
=
1
;
MsgStart
start
=
1
;
MsgDraw
draw
=
2
;
MsgDraw
draw
=
2
;
...
@@ -460,5 +468,6 @@ message StocGameMessage {
...
@@ -460,5 +468,6 @@ message StocGameMessage {
MsgSelectChain
select_chain
=
10
;
MsgSelectChain
select_chain
=
10
;
MsgSelectEffectYn
select_effect_yn
=
11
;
MsgSelectEffectYn
select_effect_yn
=
11
;
MsgSelectPosition
select_position
=
12
;
MsgSelectPosition
select_position
=
12
;
MsgSelectOption
select_option
=
13
;
}
}
}
}
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