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
53a9cf4c
Commit
53a9cf4c
authored
Oct 30, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add StocSelectTp and StocHandResult and CtosTpResult
parent
d1901b32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
23 deletions
+30
-23
idl/ocgcore.proto
idl/ocgcore.proto
+30
-23
No files found.
idl/ocgcore.proto
View file @
53a9cf4c
...
...
@@ -16,7 +16,8 @@ message YgoCtosMsg {
CtosHsStart
ctos_hs_start
=
5
;
CtosHsNotReady
ctos_hs_not_ready
=
6
;
CtosHandResult
ctos_hand_result
=
7
;
}
CtosTpResult
ctos_tp_result
=
8
;
}
}
message
YgoStocMsg
{
...
...
@@ -28,14 +29,14 @@ message YgoStocMsg {
StocHsPlayerChange
stoc_hs_player_change
=
5
;
StocHsWatchChange
stoc_hs_watch_change
=
6
;
StocSelectHand
stoc_select_hand
=
7
;
StocHandResult
stoc_hand_result
=
8
;
StocSelectTp
stoc_select_tp
=
9
;
}
}
// ----- CTOS -----
message
CtosPlayerInfo
{
string
name
=
1
;
}
message
CtosPlayerInfo
{
string
name
=
1
;
}
message
CtosJoinGame
{
int32
version
=
1
;
...
...
@@ -49,27 +50,22 @@ message CtosUpdateDeck {
repeated
int32
side
=
3
;
}
message
CtosHsReady
{
// empty message
}
message
CtosHsReady
{}
message
CtosHsNotReady
{
// empty message
}
message
CtosHsNotReady
{}
message
CtosHsStart
{
// empty message
}
message
CtosHsStart
{
}
message
CtosHandResult
{
HandType
hand
=
1
;
}
message
Ctos
Hand
Result
{
enum
Hand
Type
{
message
Ctos
Tp
Result
{
enum
Tp
Type
{
UNKNOWN
=
0
;
SCISSORS
=
1
;
ROCK
=
2
;
PAPER
=
3
;
FIRST
=
1
;
SECOND
=
2
;
}
HandType
hand
=
1
;
TpType
tp
=
1
;
}
// ----- STOC -----
...
...
@@ -128,10 +124,21 @@ message StocHsPlayerChange {
int32
moved_pos
=
3
;
}
message
StocHsWatchChange
{
int32
count
=
1
;
message
StocHsWatchChange
{
int32
count
=
1
;
}
message
StocSelectHand
{}
message
StocHandResult
{
HandType
meResult
=
1
;
HandType
opResult
=
2
;
}
message
StocSelectHand
{
// empty message
message
StocSelectTp
{}
// ----- common structs ------
enum
HandType
{
UNKNOWN
=
0
;
SCISSORS
=
1
;
ROCK
=
2
;
PAPER
=
3
;
}
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