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
d8991a3d
Commit
d8991a3d
authored
Jan 07, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/select_effect_yn' into 'main'
add SelectEffectYn See merge request
!18
parents
779d9d9c
078f4838
Pipeline
#19208
passed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
idl/ocgcore.proto
idl/ocgcore.proto
+11
-0
No files found.
idl/ocgcore.proto
View file @
d8991a3d
...
@@ -141,12 +141,14 @@ message CtosGameMsgResponse {
...
@@ -141,12 +141,14 @@ message CtosGameMsgResponse {
}
}
message
SelectCardResponse
{
repeated
int32
selected_ptrs
=
1
;
}
message
SelectCardResponse
{
repeated
int32
selected_ptrs
=
1
;
}
message
SelectChainResponse
{
int32
selected_ptr
=
1
;
}
message
SelectChainResponse
{
int32
selected_ptr
=
1
;
}
message
SelectEffectYnResponse
{
bool
selected
=
1
;
}
oneof
gameMsgResponse
{
oneof
gameMsgResponse
{
SelectIdleCmdResponse
select_idle_cmd
=
1
;
SelectIdleCmdResponse
select_idle_cmd
=
1
;
SelectPlaceResponse
select_place
=
2
;
SelectPlaceResponse
select_place
=
2
;
SelectCardResponse
select_card
=
3
;
SelectCardResponse
select_card
=
3
;
SelectChainResponse
select_chain
=
4
;
SelectChainResponse
select_chain
=
4
;
SelectEffectYnResponse
select_effect_yn
=
5
;
}
}
}
}
...
@@ -418,6 +420,14 @@ message StocGameMessage {
...
@@ -418,6 +420,14 @@ message StocGameMessage {
repeated
Chain
chains
=
6
;
// 可选的连锁项
repeated
Chain
chains
=
6
;
// 可选的连锁项
}
}
// 是否发动效果
message
MsgSelectEffectYn
{
int32
player
=
1
;
// 玩家编号
int32
code
=
2
;
// 卡编号
CardLocation
location
=
3
;
// 卡位置
int32
effect_description
=
4
;
// 卡效果
}
oneof
gameMsg
{
oneof
gameMsg
{
MsgStart
start
=
1
;
MsgStart
start
=
1
;
MsgDraw
draw
=
2
;
MsgDraw
draw
=
2
;
...
@@ -429,6 +439,7 @@ message StocGameMessage {
...
@@ -429,6 +439,7 @@ message StocGameMessage {
MsgMove
move
=
8
;
MsgMove
move
=
8
;
MsgSelectCard
select_card
=
9
;
MsgSelectCard
select_card
=
9
;
MsgSelectChain
select_chain
=
10
;
MsgSelectChain
select_chain
=
10
;
MsgSelectEffectYn
select_effect_yn
=
11
;
}
}
}
}
...
...
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