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
a019d093
Commit
a019d093
authored
Dec 04, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add MsgSelectIdleCmd
parent
c82314ef
Pipeline
#18453
failed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
idl/ocgcore.proto
idl/ocgcore.proto
+42
-0
No files found.
idl/ocgcore.proto
View file @
a019d093
...
...
@@ -174,6 +174,14 @@ message StocDuelStart {}
// 决斗对局内协议
message
StocGameMessage
{
// 一些对局内共用的结构
message
CardInfo
{
int32
code
=
1
;
int32
controler
=
2
;
int32
location
=
3
;
int32
sequence
=
4
;
}
// 对局开始
message
MsgStart
{
enum
PlayerType
{
...
...
@@ -246,12 +254,46 @@ message StocGameMessage {
int32
hint_data
=
3
;
// 提示数据
}
// IDLE可操作指示
message
MsgSelectIdleCmd
{
message
IdleCmd
{
enum
IdleType
{
UNKNOWN
=
0
;
SUMMON
=
1
;
// 通常召唤
SPSUMMON
=
2
;
// 特殊召唤
POS_CHANGE
=
3
;
// 表示形式改变
MSET
=
4
;
// 前场放置
SSET
=
5
;
// 后场放置
ACTIVATE
=
6
;
// 发动效果
TO_BP
=
7
;
// 进入战斗阶段
TO_EP
=
8
;
// 结束回合
SHUFFLE
=
9
;
// 切洗手牌
}
message
IdleData
{
CardInfo
card_info
=
1
;
int32
effect_description
=
2
;
// `IdleType`为`ACTIVATE`时才会设置这个字段
}
IdleType
idle_type
=
1
;
repeated
IdleData
=
2
;
}
int32
player
=
1
;
repeated
IdleCmd
=
2
;
bool
enable_bp
=
3
;
bool
enable_ep
=
4
;
bool
enable_shuffle
=
5
;
}
oneof
gameMsg
{
MsgStart
start
=
1
;
MsgDraw
draw
=
2
;
MsgNewTurn
new_turn
=
3
;
MsgNewPhase
new_phase
=
4
;
MsgHint
hint
=
5
;
MsgSelectIdleCmd
=
6
;
}
}
...
...
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