Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
Commits
ccd7aa26
Commit
ccd7aa26
authored
Oct 03, 2022
by
Chunchi Che
Committed by
GitHub
Oct 03, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request
#4
from DarkNeos/dev
add neos-protobuf as submodule
parents
ab1436a0
807970fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
68 deletions
+4
-68
.gitmodules
.gitmodules
+3
-0
neos-protobuf
neos-protobuf
+1
-0
src/api/ocgcore.proto
src/api/ocgcore.proto
+0
-68
No files found.
.gitmodules
0 → 100644
View file @
ccd7aa26
[submodule "neos-protobuf"]
path = neos-protobuf
url = git@github.com:DarkNeos/neos-protobuf.git
neos-protobuf
@
a54ddaec
Subproject commit a54ddaec084aaf70a779f5a876d2e8554905625c
src/api/ocgcore.proto
deleted
100644 → 0
View file @
ab1436a0
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