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
a54ddaec
Commit
a54ddaec
authored
Sep 19, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add idl/ocgcore.proto
parent
b9b3b5cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
idl/ocgcore.proto
idl/ocgcore.proto
+68
-0
No files found.
idl/ocgcore.proto
0 → 100644
View file @
a54ddaec
syntax
=
"proto3"
;
package
ygopro
;
option
go_package
=
"DarkNeos/ygopropb"
;
message
YgoCtosMsg
{
oneof
msg
{
CtosPlayerInfo
ctos_player_info
=
1
;
CtosJoinGame
ctos_join_game
=
2
;
CtosUpdateDeck
ctos_update_deck
=
3
;
}
}
message
YgoStocMsg
{
oneof
msg
{
StocJoinGame
stoc_join_game
=
1
;
StocChat
stoc_chat
=
2
;
StocHsPlayerEnter
stoc_hs_player_enter
=
3
;
StocTypeChange
stoc_type_change
=
4
;
}
}
// ----- CTOS -----
message
CtosPlayerInfo
{
string
name
=
1
;
}
message
CtosJoinGame
{
int32
version
=
1
;
int32
gameid
=
2
;
string
passwd
=
3
;
}
message
CtosUpdateDeck
{
repeated
int32
main
=
1
;
repeated
int32
extra
=
2
;
repeated
int32
side
=
3
;
}
// ----- STOC -----
message
StocJoinGame
{
int32
lflist
=
1
;
int32
rule
=
2
;
int32
mode
=
3
;
int32
duel_rule
=
4
;
bool
no_check_deck
=
5
;
bool
no_shuffle_deck
=
6
;
int32
start_lp
=
7
;
int32
start_hand
=
8
;
int32
draw_count
=
9
;
int32
time_limit
=
10
;
}
message
StocChat
{
int32
player
=
1
;
string
msg
=
2
;
}
message
StocHsPlayerEnter
{
string
name
=
1
;
int32
pos
=
2
;
}
message
StocTypeChange
{
int32
type
=
1
;
}
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