Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-proxy
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
ygopro-proxy
Commits
88b353f8
Commit
88b353f8
authored
Sep 25, 2022
by
Chunchi Che
Committed by
GitHub
Sep 25, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7 from DarkNeos/dev
Dev
parents
8c261380
bebfe4cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
196 additions
and
142 deletions
+196
-142
DarkNeos/transform.go
DarkNeos/transform.go
+58
-4
DarkNeos/ygopropb/ocgcore.pb.go
DarkNeos/ygopropb/ocgcore.pb.go
+138
-138
No files found.
DarkNeos/transform.go
View file @
88b353f8
// todo: use interface
package
darkneos
package
darkneos
import
(
import
(
"bytes"
"encoding/binary"
"encoding/binary"
"errors"
"errors"
"fmt"
"fmt"
"log"
"unicode/utf16"
"unicode/utf16"
"github.com/sktt1ryze/ygopro-proxy/DarkNeos/ygopropb"
"github.com/sktt1ryze/ygopro-proxy/DarkNeos/ygopropb"
...
@@ -23,7 +26,8 @@ const (
...
@@ -23,7 +26,8 @@ const (
CtosProtoPlayerInfo
=
16
CtosProtoPlayerInfo
=
16
CtosProtoJoinGame
=
18
CtosProtoJoinGame
=
18
StocChat
=
25
StocJoinGame
=
18
StocChat
=
25
)
)
type
YgoPacket
struct
{
type
YgoPacket
struct
{
...
@@ -32,6 +36,19 @@ type YgoPacket struct {
...
@@ -32,6 +36,19 @@ type YgoPacket struct {
Exdata
[]
byte
Exdata
[]
byte
}
}
type
HostInfo
struct
{
Lflist
uint32
Rule
uint8
Mode
uint8
DuelRule
uint8
NoCheckDeck
bool
NoShuffleDeck
bool
StartLp
uint32
StartHand
uint8
DrawCount
uint8
TimeLimit
uint16
}
func
packetToBuffer
(
pkt
YgoPacket
)
[]
byte
{
func
packetToBuffer
(
pkt
YgoPacket
)
[]
byte
{
buf
:=
make
([]
byte
,
0
)
buf
:=
make
([]
byte
,
0
)
...
@@ -97,8 +114,13 @@ func Transform(src []byte, tranformType int) ([]byte, error) {
...
@@ -97,8 +114,13 @@ func Transform(src []byte, tranformType int) ([]byte, error) {
pb
=
ygopropb
.
YgoStocMsg
{
pb
=
ygopropb
.
YgoStocMsg
{
Msg
:
&
msg
,
Msg
:
&
msg
,
}
}
case
StocJoinGame
:
msg
:=
transformJoinGame_
(
packet
)
pb
=
ygopropb
.
YgoStocMsg
{
Msg
:
&
msg
,
}
default
:
default
:
return
nil
,
errors
.
New
(
"Unhandled YgoStocMsg type"
)
return
nil
,
errors
.
New
(
fmt
.
Sprintf
(
"Unhandled YgoStocMsg type, proto=%d"
,
packet
.
Proto
)
)
}
}
return
proto
.
Marshal
(
&
pb
)
return
proto
.
Marshal
(
&
pb
)
...
@@ -107,8 +129,6 @@ func Transform(src []byte, tranformType int) ([]byte, error) {
...
@@ -107,8 +129,6 @@ func Transform(src []byte, tranformType int) ([]byte, error) {
}
}
}
}
// todo: use interface
// +++++ Client To Server +++++
// +++++ Client To Server +++++
// @Name: [20]uint16
// @Name: [20]uint16
...
@@ -161,6 +181,40 @@ func transformChat(pkt YgoPacket) ygopropb.YgoStocMsg_StocChat {
...
@@ -161,6 +181,40 @@ func transformChat(pkt YgoPacket) ygopropb.YgoStocMsg_StocChat {
}
}
}
}
// @lflist: uint32
// @rule: uint8
// @mode: uint8
// @duel_rule: uint8
// @no_check_deck: bool
// @no_shuffle_deck: bool
// @start_lp: uint32
// @start_hand: uint8
// @draw_count: uint8
// @time_limit: uint16
func
transformJoinGame_
(
pkt
YgoPacket
)
ygopropb
.
YgoStocMsg_StocJoinGame
{
hostInfo
:=
HostInfo
{}
exData
:=
bytes
.
NewBuffer
(
pkt
.
Exdata
)
if
err
:=
binary
.
Read
(
exData
,
binary
.
LittleEndian
,
&
hostInfo
);
err
!=
nil
{
log
.
Fatal
(
err
)
}
return
ygopropb
.
YgoStocMsg_StocJoinGame
{
StocJoinGame
:
&
ygopropb
.
StocJoinGame
{
Lflist
:
int32
(
hostInfo
.
Lflist
),
Rule
:
int32
(
hostInfo
.
Rule
),
Mode
:
int32
(
hostInfo
.
Mode
),
DuelRule
:
int32
(
hostInfo
.
DuelRule
),
NoCheckDeck
:
hostInfo
.
NoCheckDeck
,
NoShuffleDeck
:
hostInfo
.
NoShuffleDeck
,
StartLp
:
int32
(
hostInfo
.
StartLp
),
StartHand
:
int32
(
hostInfo
.
StartHand
),
DrawCount
:
int32
(
hostInfo
.
DrawCount
),
TimeLimit
:
int32
(
hostInfo
.
TimeLimit
),
},
}
}
// +++++ Util Functions +++++
// +++++ Util Functions +++++
func
strToUtf16Buffer
(
s
string
)
[]
uint16
{
func
strToUtf16Buffer
(
s
string
)
[]
uint16
{
...
...
DarkNeos/ygopropb/
ygopro
.pb.go
→
DarkNeos/ygopropb/
ocgcore
.pb.go
View file @
88b353f8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// versions:
// versions:
// protoc-gen-go v1.28.1
// protoc-gen-go v1.28.1
// protoc v3.21.5
// protoc v3.21.5
// source:
ygopro
.proto
// source:
ocgcore
.proto
package
ygopropb
package
ygopropb
...
@@ -35,7 +35,7 @@ type YgoCtosMsg struct {
...
@@ -35,7 +35,7 @@ type YgoCtosMsg struct {
func
(
x
*
YgoCtosMsg
)
Reset
()
{
func
(
x
*
YgoCtosMsg
)
Reset
()
{
*
x
=
YgoCtosMsg
{}
*
x
=
YgoCtosMsg
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
0
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -48,7 +48,7 @@ func (x *YgoCtosMsg) String() string {
...
@@ -48,7 +48,7 @@ func (x *YgoCtosMsg) String() string {
func
(
*
YgoCtosMsg
)
ProtoMessage
()
{}
func
(
*
YgoCtosMsg
)
ProtoMessage
()
{}
func
(
x
*
YgoCtosMsg
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
YgoCtosMsg
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
0
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
0
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -61,7 +61,7 @@ func (x *YgoCtosMsg) ProtoReflect() protoreflect.Message {
...
@@ -61,7 +61,7 @@ func (x *YgoCtosMsg) ProtoReflect() protoreflect.Message {
// Deprecated: Use YgoCtosMsg.ProtoReflect.Descriptor instead.
// Deprecated: Use YgoCtosMsg.ProtoReflect.Descriptor instead.
func
(
*
YgoCtosMsg
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
YgoCtosMsg
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
0
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
0
}
}
}
func
(
m
*
YgoCtosMsg
)
GetMsg
()
isYgoCtosMsg_Msg
{
func
(
m
*
YgoCtosMsg
)
GetMsg
()
isYgoCtosMsg_Msg
{
...
@@ -130,7 +130,7 @@ type YgoStocMsg struct {
...
@@ -130,7 +130,7 @@ type YgoStocMsg struct {
func
(
x
*
YgoStocMsg
)
Reset
()
{
func
(
x
*
YgoStocMsg
)
Reset
()
{
*
x
=
YgoStocMsg
{}
*
x
=
YgoStocMsg
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
1
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
1
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -143,7 +143,7 @@ func (x *YgoStocMsg) String() string {
...
@@ -143,7 +143,7 @@ func (x *YgoStocMsg) String() string {
func
(
*
YgoStocMsg
)
ProtoMessage
()
{}
func
(
*
YgoStocMsg
)
ProtoMessage
()
{}
func
(
x
*
YgoStocMsg
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
YgoStocMsg
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
1
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
1
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -156,7 +156,7 @@ func (x *YgoStocMsg) ProtoReflect() protoreflect.Message {
...
@@ -156,7 +156,7 @@ func (x *YgoStocMsg) ProtoReflect() protoreflect.Message {
// Deprecated: Use YgoStocMsg.ProtoReflect.Descriptor instead.
// Deprecated: Use YgoStocMsg.ProtoReflect.Descriptor instead.
func
(
*
YgoStocMsg
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
YgoStocMsg
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
1
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
1
}
}
}
func
(
m
*
YgoStocMsg
)
GetMsg
()
isYgoStocMsg_Msg
{
func
(
m
*
YgoStocMsg
)
GetMsg
()
isYgoStocMsg_Msg
{
...
@@ -233,7 +233,7 @@ type CtosPlayerInfo struct {
...
@@ -233,7 +233,7 @@ type CtosPlayerInfo struct {
func
(
x
*
CtosPlayerInfo
)
Reset
()
{
func
(
x
*
CtosPlayerInfo
)
Reset
()
{
*
x
=
CtosPlayerInfo
{}
*
x
=
CtosPlayerInfo
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
2
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -246,7 +246,7 @@ func (x *CtosPlayerInfo) String() string {
...
@@ -246,7 +246,7 @@ func (x *CtosPlayerInfo) String() string {
func
(
*
CtosPlayerInfo
)
ProtoMessage
()
{}
func
(
*
CtosPlayerInfo
)
ProtoMessage
()
{}
func
(
x
*
CtosPlayerInfo
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
CtosPlayerInfo
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
2
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
2
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -259,7 +259,7 @@ func (x *CtosPlayerInfo) ProtoReflect() protoreflect.Message {
...
@@ -259,7 +259,7 @@ func (x *CtosPlayerInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use CtosPlayerInfo.ProtoReflect.Descriptor instead.
// Deprecated: Use CtosPlayerInfo.ProtoReflect.Descriptor instead.
func
(
*
CtosPlayerInfo
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
CtosPlayerInfo
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
2
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
2
}
}
}
func
(
x
*
CtosPlayerInfo
)
GetName
()
string
{
func
(
x
*
CtosPlayerInfo
)
GetName
()
string
{
...
@@ -282,7 +282,7 @@ type CtosJoinGame struct {
...
@@ -282,7 +282,7 @@ type CtosJoinGame struct {
func
(
x
*
CtosJoinGame
)
Reset
()
{
func
(
x
*
CtosJoinGame
)
Reset
()
{
*
x
=
CtosJoinGame
{}
*
x
=
CtosJoinGame
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
3
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
3
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -295,7 +295,7 @@ func (x *CtosJoinGame) String() string {
...
@@ -295,7 +295,7 @@ func (x *CtosJoinGame) String() string {
func
(
*
CtosJoinGame
)
ProtoMessage
()
{}
func
(
*
CtosJoinGame
)
ProtoMessage
()
{}
func
(
x
*
CtosJoinGame
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
CtosJoinGame
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
3
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
3
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -308,7 +308,7 @@ func (x *CtosJoinGame) ProtoReflect() protoreflect.Message {
...
@@ -308,7 +308,7 @@ func (x *CtosJoinGame) ProtoReflect() protoreflect.Message {
// Deprecated: Use CtosJoinGame.ProtoReflect.Descriptor instead.
// Deprecated: Use CtosJoinGame.ProtoReflect.Descriptor instead.
func
(
*
CtosJoinGame
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
CtosJoinGame
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
3
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
3
}
}
}
func
(
x
*
CtosJoinGame
)
GetVersion
()
int32
{
func
(
x
*
CtosJoinGame
)
GetVersion
()
int32
{
...
@@ -345,7 +345,7 @@ type CtosUpdateDeck struct {
...
@@ -345,7 +345,7 @@ type CtosUpdateDeck struct {
func
(
x
*
CtosUpdateDeck
)
Reset
()
{
func
(
x
*
CtosUpdateDeck
)
Reset
()
{
*
x
=
CtosUpdateDeck
{}
*
x
=
CtosUpdateDeck
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
4
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
4
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -358,7 +358,7 @@ func (x *CtosUpdateDeck) String() string {
...
@@ -358,7 +358,7 @@ func (x *CtosUpdateDeck) String() string {
func
(
*
CtosUpdateDeck
)
ProtoMessage
()
{}
func
(
*
CtosUpdateDeck
)
ProtoMessage
()
{}
func
(
x
*
CtosUpdateDeck
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
CtosUpdateDeck
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
4
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
4
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -371,7 +371,7 @@ func (x *CtosUpdateDeck) ProtoReflect() protoreflect.Message {
...
@@ -371,7 +371,7 @@ func (x *CtosUpdateDeck) ProtoReflect() protoreflect.Message {
// Deprecated: Use CtosUpdateDeck.ProtoReflect.Descriptor instead.
// Deprecated: Use CtosUpdateDeck.ProtoReflect.Descriptor instead.
func
(
*
CtosUpdateDeck
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
CtosUpdateDeck
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
4
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
4
}
}
}
func
(
x
*
CtosUpdateDeck
)
GetMain
()
[]
int32
{
func
(
x
*
CtosUpdateDeck
)
GetMain
()
[]
int32
{
...
@@ -415,7 +415,7 @@ type StocJoinGame struct {
...
@@ -415,7 +415,7 @@ type StocJoinGame struct {
func
(
x
*
StocJoinGame
)
Reset
()
{
func
(
x
*
StocJoinGame
)
Reset
()
{
*
x
=
StocJoinGame
{}
*
x
=
StocJoinGame
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
5
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
5
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -428,7 +428,7 @@ func (x *StocJoinGame) String() string {
...
@@ -428,7 +428,7 @@ func (x *StocJoinGame) String() string {
func
(
*
StocJoinGame
)
ProtoMessage
()
{}
func
(
*
StocJoinGame
)
ProtoMessage
()
{}
func
(
x
*
StocJoinGame
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
StocJoinGame
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
5
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
5
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -441,7 +441,7 @@ func (x *StocJoinGame) ProtoReflect() protoreflect.Message {
...
@@ -441,7 +441,7 @@ func (x *StocJoinGame) ProtoReflect() protoreflect.Message {
// Deprecated: Use StocJoinGame.ProtoReflect.Descriptor instead.
// Deprecated: Use StocJoinGame.ProtoReflect.Descriptor instead.
func
(
*
StocJoinGame
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
StocJoinGame
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
5
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
5
}
}
}
func
(
x
*
StocJoinGame
)
GetLflist
()
int32
{
func
(
x
*
StocJoinGame
)
GetLflist
()
int32
{
...
@@ -526,7 +526,7 @@ type StocChat struct {
...
@@ -526,7 +526,7 @@ type StocChat struct {
func
(
x
*
StocChat
)
Reset
()
{
func
(
x
*
StocChat
)
Reset
()
{
*
x
=
StocChat
{}
*
x
=
StocChat
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
6
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
6
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -539,7 +539,7 @@ func (x *StocChat) String() string {
...
@@ -539,7 +539,7 @@ func (x *StocChat) String() string {
func
(
*
StocChat
)
ProtoMessage
()
{}
func
(
*
StocChat
)
ProtoMessage
()
{}
func
(
x
*
StocChat
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
StocChat
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
6
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
6
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -552,7 +552,7 @@ func (x *StocChat) ProtoReflect() protoreflect.Message {
...
@@ -552,7 +552,7 @@ func (x *StocChat) ProtoReflect() protoreflect.Message {
// Deprecated: Use StocChat.ProtoReflect.Descriptor instead.
// Deprecated: Use StocChat.ProtoReflect.Descriptor instead.
func
(
*
StocChat
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
StocChat
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
6
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
6
}
}
}
func
(
x
*
StocChat
)
GetPlayer
()
int32
{
func
(
x
*
StocChat
)
GetPlayer
()
int32
{
...
@@ -581,7 +581,7 @@ type StocHsPlayerEnter struct {
...
@@ -581,7 +581,7 @@ type StocHsPlayerEnter struct {
func
(
x
*
StocHsPlayerEnter
)
Reset
()
{
func
(
x
*
StocHsPlayerEnter
)
Reset
()
{
*
x
=
StocHsPlayerEnter
{}
*
x
=
StocHsPlayerEnter
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
7
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
7
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -594,7 +594,7 @@ func (x *StocHsPlayerEnter) String() string {
...
@@ -594,7 +594,7 @@ func (x *StocHsPlayerEnter) String() string {
func
(
*
StocHsPlayerEnter
)
ProtoMessage
()
{}
func
(
*
StocHsPlayerEnter
)
ProtoMessage
()
{}
func
(
x
*
StocHsPlayerEnter
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
StocHsPlayerEnter
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
7
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
7
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -607,7 +607,7 @@ func (x *StocHsPlayerEnter) ProtoReflect() protoreflect.Message {
...
@@ -607,7 +607,7 @@ func (x *StocHsPlayerEnter) ProtoReflect() protoreflect.Message {
// Deprecated: Use StocHsPlayerEnter.ProtoReflect.Descriptor instead.
// Deprecated: Use StocHsPlayerEnter.ProtoReflect.Descriptor instead.
func
(
*
StocHsPlayerEnter
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
StocHsPlayerEnter
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
7
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
7
}
}
}
func
(
x
*
StocHsPlayerEnter
)
GetName
()
string
{
func
(
x
*
StocHsPlayerEnter
)
GetName
()
string
{
...
@@ -635,7 +635,7 @@ type StocTypeChange struct {
...
@@ -635,7 +635,7 @@ type StocTypeChange struct {
func
(
x
*
StocTypeChange
)
Reset
()
{
func
(
x
*
StocTypeChange
)
Reset
()
{
*
x
=
StocTypeChange
{}
*
x
=
StocTypeChange
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
8
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
8
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -648,7 +648,7 @@ func (x *StocTypeChange) String() string {
...
@@ -648,7 +648,7 @@ func (x *StocTypeChange) String() string {
func
(
*
StocTypeChange
)
ProtoMessage
()
{}
func
(
*
StocTypeChange
)
ProtoMessage
()
{}
func
(
x
*
StocTypeChange
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
StocTypeChange
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
ygopro
_proto_msgTypes
[
8
]
mi
:=
&
file_
ocgcore
_proto_msgTypes
[
8
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -661,7 +661,7 @@ func (x *StocTypeChange) ProtoReflect() protoreflect.Message {
...
@@ -661,7 +661,7 @@ func (x *StocTypeChange) ProtoReflect() protoreflect.Message {
// Deprecated: Use StocTypeChange.ProtoReflect.Descriptor instead.
// Deprecated: Use StocTypeChange.ProtoReflect.Descriptor instead.
func
(
*
StocTypeChange
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
StocTypeChange
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
ygopro
_proto_rawDescGZIP
(),
[]
int
{
8
}
return
file_
ocgcore
_proto_rawDescGZIP
(),
[]
int
{
8
}
}
}
func
(
x
*
StocTypeChange
)
GetType
()
int32
{
func
(
x
*
StocTypeChange
)
GetType
()
int32
{
...
@@ -671,101 +671,101 @@ func (x *StocTypeChange) GetType() int32 {
...
@@ -671,101 +671,101 @@ func (x *StocTypeChange) GetType() int32 {
return
0
return
0
}
}
var
File_
ygopro
_proto
protoreflect
.
FileDescriptor
var
File_
ocgcore
_proto
protoreflect
.
FileDescriptor
var
file_
ygopro
_proto_rawDesc
=
[]
byte
{
var
file_
ocgcore
_proto_rawDesc
=
[]
byte
{
0x0a
,
0x0
c
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x06
,
0x0a
,
0x0
d
,
0x6f
,
0x63
,
0x67
,
0x63
,
0x6f
,
0x72
,
0x65
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x
79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x22
,
0xd9
,
0x01
,
0x0a
,
0x0a
,
0x59
,
0x67
,
0x6f
,
0x43
,
0x74
,
0x
06
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x22
,
0xd9
,
0x01
,
0x0a
,
0x0a
,
0x59
,
0x67
,
0x6f
,
0x43
,
0x
6f
,
0x73
,
0x4d
,
0x73
,
0x67
,
0x12
,
0x42
,
0x0a
,
0x10
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x5f
,
0x70
,
0x6c
,
0x
74
,
0x6f
,
0x73
,
0x4d
,
0x73
,
0x67
,
0x12
,
0x42
,
0x0a
,
0x10
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x5f
,
0x70
,
0x6
1
,
0x79
,
0x65
,
0x72
,
0x5f
,
0x69
,
0x6e
,
0x66
,
0x6f
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x6
c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x5f
,
0x69
,
0x6e
,
0x66
,
0x6f
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x
16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x
32
,
0x16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x50
,
0x6c
,
0x
79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x48
,
0x00
,
0x52
,
0x0e
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x50
,
0x
61
,
0x79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x48
,
0x00
,
0x52
,
0x0e
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x
6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x63
,
0x74
,
0x6f
,
0x
50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x63
,
0x74
,
0x
73
,
0x5f
,
0x6a
,
0x6f
,
0x69
,
0x6e
,
0x5f
,
0x67
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x
6f
,
0x73
,
0x5f
,
0x6a
,
0x6f
,
0x69
,
0x6e
,
0x5f
,
0x67
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x
0b
,
0x32
,
0x14
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x4a
,
0x
28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x
6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x48
,
0x00
,
0x52
,
0x0c
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x4a
,
0x
4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x48
,
0x00
,
0x52
,
0x0c
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x
6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x42
,
0x0a
,
0x10
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x5f
,
0x
4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x42
,
0x0a
,
0x10
,
0x63
,
0x74
,
0x6f
,
0x73
,
0x
75
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x
5f
,
0x75
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x03
,
0x20
,
0x01
,
0x
0b
,
0x32
,
0x16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x55
,
0x
28
,
0x0b
,
0x32
,
0x16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x
70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x48
,
0x00
,
0x52
,
0x0e
,
0x63
,
0x74
,
0x6f
,
0x
55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x48
,
0x00
,
0x52
,
0x0e
,
0x63
,
0x74
,
0x
73
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x42
,
0x05
,
0x0a
,
0x03
,
0x6d
,
0x
6f
,
0x73
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x42
,
0x05
,
0x0a
,
0x03
,
0x
73
,
0x67
,
0x22
,
0x94
,
0x02
,
0x0a
,
0x0a
,
0x59
,
0x67
,
0x6f
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x4d
,
0x73
,
0x
6d
,
0x73
,
0x67
,
0x22
,
0x94
,
0x02
,
0x0a
,
0x0a
,
0x59
,
0x67
,
0x6f
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x4d
,
0x
67
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x6a
,
0x6f
,
0x69
,
0x6e
,
0x5f
,
0x67
,
0x
73
,
0x67
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x6a
,
0x6f
,
0x69
,
0x6e
,
0x5f
,
0x6
1
,
0x6d
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x6
7
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x7
2
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x48
,
0x7
0
,
0x72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x
00
,
0x52
,
0x0c
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x
48
,
0x00
,
0x52
,
0x0c
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x
2f
,
0x0a
,
0x09
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x63
,
0x68
,
0x61
,
0x74
,
0x18
,
0x02
,
0x20
,
0x01
,
0x
12
,
0x2f
,
0x0a
,
0x09
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x63
,
0x68
,
0x61
,
0x74
,
0x18
,
0x02
,
0x20
,
0x
28
,
0x0b
,
0x32
,
0x10
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x
01
,
0x28
,
0x0b
,
0x32
,
0x10
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x
43
,
0x68
,
0x61
,
0x74
,
0x48
,
0x00
,
0x52
,
0x08
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x43
,
0x68
,
0x61
,
0x74
,
0x
63
,
0x43
,
0x68
,
0x61
,
0x74
,
0x48
,
0x00
,
0x52
,
0x08
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x43
,
0x68
,
0x61
,
0x
12
,
0x4c
,
0x0a
,
0x14
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x68
,
0x73
,
0x5f
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x
74
,
0x12
,
0x4c
,
0x0a
,
0x14
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x68
,
0x73
,
0x5f
,
0x70
,
0x6c
,
0x61
,
0x
65
,
0x72
,
0x5f
,
0x65
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x19
,
0x
79
,
0x65
,
0x72
,
0x5f
,
0x65
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x
2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x48
,
0x73
,
0x50
,
0x6c
,
0x
19
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x48
,
0x73
,
0x50
,
0x6
1
,
0x79
,
0x65
,
0x72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x48
,
0x00
,
0x52
,
0x11
,
0x73
,
0x74
,
0x6f
,
0x6
c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x48
,
0x00
,
0x52
,
0x11
,
0x73
,
0x74
,
0x6
3
,
0x48
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x12
,
0x4
2
,
0x6
f
,
0x63
,
0x48
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x1
2
,
0x
0a
,
0x10
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x74
,
0x79
,
0x70
,
0x65
,
0x5f
,
0x63
,
0x68
,
0x61
,
0x6e
,
0x
42
,
0x0a
,
0x10
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x5f
,
0x74
,
0x79
,
0x70
,
0x65
,
0x5f
,
0x63
,
0x68
,
0x61
,
0x6
7
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6
e
,
0x67
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x16
,
0x2e
,
0x79
,
0x67
,
0x6f
,
0x70
,
0x
6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6e
,
0x67
,
0x65
,
0x
72
,
0x6f
,
0x2e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6e
,
0x67
,
0x
48
,
0x00
,
0x52
,
0x0e
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6e
,
0x
65
,
0x48
,
0x00
,
0x52
,
0x0e
,
0x73
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6
7
,
0x65
,
0x42
,
0x05
,
0x0a
,
0x03
,
0x6d
,
0x73
,
0x67
,
0x22
,
0x24
,
0x0a
,
0x0e
,
0x43
,
0x74
,
0x6f
,
0x6
e
,
0x67
,
0x65
,
0x42
,
0x05
,
0x0a
,
0x03
,
0x6d
,
0x73
,
0x67
,
0x22
,
0x24
,
0x0a
,
0x0e
,
0x43
,
0x74
,
0x
73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6e
,
0x
6f
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x49
,
0x6e
,
0x66
,
0x6f
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6
1
,
0x6d
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x22
,
0x6
e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x
58
,
0x0a
,
0x0c
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x
22
,
0x58
,
0x0a
,
0x0c
,
0x43
,
0x74
,
0x6f
,
0x73
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x1
8
,
0x0a
,
0x07
,
0x76
,
0x65
,
0x72
,
0x73
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x1
2
,
0x18
,
0x0a
,
0x07
,
0x76
,
0x65
,
0x72
,
0x73
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x
52
,
0x07
,
0x76
,
0x65
,
0x72
,
0x73
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x67
,
0x61
,
0x6d
,
0x
05
,
0x52
,
0x07
,
0x76
,
0x65
,
0x72
,
0x73
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x67
,
0x61
,
0x6
5
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x67
,
0x61
,
0x6d
,
0x65
,
0x69
,
0x6
d
,
0x65
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x67
,
0x61
,
0x6d
,
0x65
,
0x6
4
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x61
,
0x73
,
0x73
,
0x77
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x6
9
,
0x64
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x61
,
0x73
,
0x73
,
0x77
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x
09
,
0x52
,
0x06
,
0x70
,
0x61
,
0x73
,
0x73
,
0x77
,
0x64
,
0x22
,
0x4e
,
0x0a
,
0x0e
,
0x43
,
0x74
,
0x6f
,
0x
28
,
0x09
,
0x52
,
0x06
,
0x70
,
0x61
,
0x73
,
0x73
,
0x77
,
0x64
,
0x22
,
0x4e
,
0x0a
,
0x0e
,
0x43
,
0x74
,
0x
73
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6d
,
0x
6f
,
0x73
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6
1
,
0x69
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x05
,
0x52
,
0x04
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x12
,
0x6
d
,
0x61
,
0x69
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x05
,
0x52
,
0x04
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x1
4
,
0x0a
,
0x05
,
0x65
,
0x78
,
0x74
,
0x72
,
0x61
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x05
,
0x52
,
0x05
,
0x1
2
,
0x14
,
0x0a
,
0x05
,
0x65
,
0x78
,
0x74
,
0x72
,
0x61
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x05
,
0x52
,
0x
65
,
0x78
,
0x74
,
0x72
,
0x61
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x73
,
0x69
,
0x64
,
0x65
,
0x18
,
0x03
,
0x20
,
0x
05
,
0x65
,
0x78
,
0x74
,
0x72
,
0x61
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x73
,
0x69
,
0x64
,
0x65
,
0x18
,
0x03
,
0x
03
,
0x28
,
0x05
,
0x52
,
0x04
,
0x73
,
0x69
,
0x64
,
0x65
,
0x22
,
0xaf
,
0x02
,
0x0a
,
0x0c
,
0x53
,
0x74
,
0x
20
,
0x03
,
0x28
,
0x05
,
0x52
,
0x04
,
0x73
,
0x69
,
0x64
,
0x65
,
0x22
,
0xaf
,
0x02
,
0x0a
,
0x0c
,
0x53
,
0x
6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x6c
,
0x66
,
0x
74
,
0x6f
,
0x63
,
0x4a
,
0x6f
,
0x69
,
0x6e
,
0x47
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x6c
,
0x6
c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x6c
,
0x66
,
0x6c
,
0x69
,
0x6
6
,
0x6c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x6c
,
0x66
,
0x6c
,
0x
73
,
0x74
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x
69
,
0x73
,
0x74
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x
52
,
0x04
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6d
,
0x6f
,
0x64
,
0x65
,
0x18
,
0x03
,
0x
05
,
0x52
,
0x04
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6d
,
0x6f
,
0x64
,
0x65
,
0x18
,
0x
20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x6d
,
0x6f
,
0x64
,
0x65
,
0x12
,
0x1b
,
0x0a
,
0x09
,
0x64
,
0x75
,
0x
03
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x6d
,
0x6f
,
0x64
,
0x65
,
0x12
,
0x1b
,
0x0a
,
0x09
,
0x64
,
0x
65
,
0x6c
,
0x5f
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x08
,
0x64
,
0x
75
,
0x65
,
0x6c
,
0x5f
,
0x72
,
0x75
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x08
,
0x
75
,
0x65
,
0x6c
,
0x52
,
0x75
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0d
,
0x6e
,
0x6f
,
0x5f
,
0x63
,
0x68
,
0x
64
,
0x75
,
0x65
,
0x6c
,
0x52
,
0x75
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0d
,
0x6e
,
0x6f
,
0x5f
,
0x63
,
0x6
5
,
0x63
,
0x6b
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x0b
,
0x6
8
,
0x65
,
0x63
,
0x6b
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x
6e
,
0x6f
,
0x43
,
0x68
,
0x65
,
0x63
,
0x6b
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x12
,
0x26
,
0x0a
,
0x0f
,
0x6e
,
0x
0b
,
0x6e
,
0x6f
,
0x43
,
0x68
,
0x65
,
0x63
,
0x6b
,
0x44
,
0x65
,
0x63
,
0x6b
,
0x12
,
0x26
,
0x0a
,
0x0f
,
0x6
f
,
0x5f
,
0x73
,
0x68
,
0x75
,
0x66
,
0x66
,
0x6c
,
0x65
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x06
,
0x6
e
,
0x6f
,
0x5f
,
0x73
,
0x68
,
0x75
,
0x66
,
0x66
,
0x6c
,
0x65
,
0x5f
,
0x64
,
0x65
,
0x63
,
0x6b
,
0x18
,
0x
20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x0d
,
0x6e
,
0x6f
,
0x53
,
0x68
,
0x75
,
0x66
,
0x66
,
0x6c
,
0x65
,
0x44
,
0x
06
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x0d
,
0x6e
,
0x6f
,
0x53
,
0x68
,
0x75
,
0x66
,
0x66
,
0x6c
,
0x65
,
0x
65
,
0x63
,
0x6b
,
0x12
,
0x19
,
0x0a
,
0x08
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x5f
,
0x6c
,
0x70
,
0x18
,
0x
44
,
0x65
,
0x63
,
0x6b
,
0x12
,
0x19
,
0x0a
,
0x08
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x5f
,
0x6c
,
0x70
,
0x
07
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x07
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x4c
,
0x70
,
0x12
,
0x1d
,
0x
18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x07
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x4c
,
0x70
,
0x12
,
0x
0a
,
0x0a
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x5f
,
0x68
,
0x61
,
0x6e
,
0x64
,
0x18
,
0x08
,
0x20
,
0x01
,
0x
1d
,
0x0a
,
0x0a
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x5f
,
0x68
,
0x61
,
0x6e
,
0x64
,
0x18
,
0x08
,
0x20
,
0x
28
,
0x05
,
0x52
,
0x09
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x48
,
0x61
,
0x6e
,
0x64
,
0x12
,
0x1d
,
0x0a
,
0x
01
,
0x28
,
0x05
,
0x52
,
0x09
,
0x73
,
0x74
,
0x61
,
0x72
,
0x74
,
0x48
,
0x61
,
0x6e
,
0x64
,
0x12
,
0x1d
,
0x0a
,
0x
64
,
0x72
,
0x61
,
0x77
,
0x5f
,
0x63
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x0a
,
0x
0a
,
0x64
,
0x72
,
0x61
,
0x77
,
0x5f
,
0x63
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x18
,
0x09
,
0x20
,
0x01
,
0x
05
,
0x52
,
0x09
,
0x64
,
0x72
,
0x61
,
0x77
,
0x43
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x12
,
0x1d
,
0x0a
,
0x0a
,
0x
28
,
0x05
,
0x52
,
0x09
,
0x64
,
0x72
,
0x61
,
0x77
,
0x43
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x12
,
0x1d
,
0x0a
,
0x
74
,
0x69
,
0x6d
,
0x65
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x05
,
0x
0a
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x
52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x22
,
0x34
,
0x0a
,
0x08
,
0x53
,
0x
05
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x22
,
0x34
,
0x0a
,
0x08
,
0x
74
,
0x6f
,
0x63
,
0x43
,
0x68
,
0x61
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x
53
,
0x74
,
0x6f
,
0x63
,
0x43
,
0x68
,
0x61
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x
72
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x72
,
0x1
2
,
0x
65
,
0x72
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x7
2
,
0x1
0
,
0x0a
,
0x03
,
0x6d
,
0x73
,
0x67
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x6d
,
0x73
,
0x1
2
,
0x10
,
0x0a
,
0x03
,
0x6d
,
0x73
,
0x67
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x6d
,
0x
67
,
0x22
,
0x39
,
0x0a
,
0x11
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x48
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x65
,
0x
73
,
0x67
,
0x22
,
0x39
,
0x0a
,
0x11
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x48
,
0x73
,
0x50
,
0x6c
,
0x61
,
0x79
,
0x
72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x01
,
0x
65
,
0x72
,
0x45
,
0x6e
,
0x74
,
0x65
,
0x72
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x
20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x6f
,
0x
01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x6e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x
73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x03
,
0x70
,
0x6f
,
0x73
,
0x22
,
0x24
,
0x0a
,
0x0e
,
0x
6f
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x03
,
0x70
,
0x6f
,
0x73
,
0x22
,
0x24
,
0x0a
,
0x
53
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6e
,
0x67
,
0x65
,
0x12
,
0x12
,
0x
0e
,
0x53
,
0x74
,
0x6f
,
0x63
,
0x54
,
0x79
,
0x70
,
0x65
,
0x43
,
0x68
,
0x61
,
0x6e
,
0x67
,
0x65
,
0x12
,
0x
0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x74
,
0x79
,
0x
12
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x74
,
0x7
0
,
0x65
,
0x42
,
0x13
,
0x5a
,
0x11
,
0x44
,
0x61
,
0x72
,
0x6b
,
0x4e
,
0x65
,
0x6f
,
0x73
,
0x2f
,
0x79
,
0x7
9
,
0x70
,
0x65
,
0x42
,
0x13
,
0x5a
,
0x11
,
0x44
,
0x61
,
0x72
,
0x6b
,
0x4e
,
0x65
,
0x6f
,
0x73
,
0x2f
,
0x67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x70
,
0x62
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x
79
,
0x
67
,
0x6f
,
0x70
,
0x72
,
0x6f
,
0x70
,
0x62
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
file_
ygopro
_proto_rawDescOnce
sync
.
Once
file_
ocgcore
_proto_rawDescOnce
sync
.
Once
file_
ygopro_proto_rawDescData
=
file_ygopro
_proto_rawDesc
file_
ocgcore_proto_rawDescData
=
file_ocgcore
_proto_rawDesc
)
)
func
file_
ygopro
_proto_rawDescGZIP
()
[]
byte
{
func
file_
ocgcore
_proto_rawDescGZIP
()
[]
byte
{
file_
ygopro
_proto_rawDescOnce
.
Do
(
func
()
{
file_
ocgcore
_proto_rawDescOnce
.
Do
(
func
()
{
file_
ygopro_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_ygopro
_proto_rawDescData
)
file_
ocgcore_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_ocgcore
_proto_rawDescData
)
})
})
return
file_
ygopro
_proto_rawDescData
return
file_
ocgcore
_proto_rawDescData
}
}
var
file_
ygopro
_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
9
)
var
file_
ocgcore
_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
9
)
var
file_
ygopro
_proto_goTypes
=
[]
interface
{}{
var
file_
ocgcore
_proto_goTypes
=
[]
interface
{}{
(
*
YgoCtosMsg
)(
nil
),
// 0: ygopro.YgoCtosMsg
(
*
YgoCtosMsg
)(
nil
),
// 0: ygopro.YgoCtosMsg
(
*
YgoStocMsg
)(
nil
),
// 1: ygopro.YgoStocMsg
(
*
YgoStocMsg
)(
nil
),
// 1: ygopro.YgoStocMsg
(
*
CtosPlayerInfo
)(
nil
),
// 2: ygopro.CtosPlayerInfo
(
*
CtosPlayerInfo
)(
nil
),
// 2: ygopro.CtosPlayerInfo
...
@@ -776,7 +776,7 @@ var file_ygopro_proto_goTypes = []interface{}{
...
@@ -776,7 +776,7 @@ var file_ygopro_proto_goTypes = []interface{}{
(
*
StocHsPlayerEnter
)(
nil
),
// 7: ygopro.StocHsPlayerEnter
(
*
StocHsPlayerEnter
)(
nil
),
// 7: ygopro.StocHsPlayerEnter
(
*
StocTypeChange
)(
nil
),
// 8: ygopro.StocTypeChange
(
*
StocTypeChange
)(
nil
),
// 8: ygopro.StocTypeChange
}
}
var
file_
ygopro
_proto_depIdxs
=
[]
int32
{
var
file_
ocgcore
_proto_depIdxs
=
[]
int32
{
2
,
// 0: ygopro.YgoCtosMsg.ctos_player_info:type_name -> ygopro.CtosPlayerInfo
2
,
// 0: ygopro.YgoCtosMsg.ctos_player_info:type_name -> ygopro.CtosPlayerInfo
3
,
// 1: ygopro.YgoCtosMsg.ctos_join_game:type_name -> ygopro.CtosJoinGame
3
,
// 1: ygopro.YgoCtosMsg.ctos_join_game:type_name -> ygopro.CtosJoinGame
4
,
// 2: ygopro.YgoCtosMsg.ctos_update_deck:type_name -> ygopro.CtosUpdateDeck
4
,
// 2: ygopro.YgoCtosMsg.ctos_update_deck:type_name -> ygopro.CtosUpdateDeck
...
@@ -791,13 +791,13 @@ var file_ygopro_proto_depIdxs = []int32{
...
@@ -791,13 +791,13 @@ var file_ygopro_proto_depIdxs = []int32{
0
,
// [0:7] is the sub-list for field type_name
0
,
// [0:7] is the sub-list for field type_name
}
}
func
init
()
{
file_
ygopro
_proto_init
()
}
func
init
()
{
file_
ocgcore
_proto_init
()
}
func
file_
ygopro
_proto_init
()
{
func
file_
ocgcore
_proto_init
()
{
if
File_
ygopro
_proto
!=
nil
{
if
File_
ocgcore
_proto
!=
nil
{
return
return
}
}
if
!
protoimpl
.
UnsafeEnabled
{
if
!
protoimpl
.
UnsafeEnabled
{
file_
ygopro
_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
YgoCtosMsg
);
i
{
switch
v
:=
v
.
(
*
YgoCtosMsg
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -809,7 +809,7 @@ func file_ygopro_proto_init() {
...
@@ -809,7 +809,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
YgoStocMsg
);
i
{
switch
v
:=
v
.
(
*
YgoStocMsg
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -821,7 +821,7 @@ func file_ygopro_proto_init() {
...
@@ -821,7 +821,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
CtosPlayerInfo
);
i
{
switch
v
:=
v
.
(
*
CtosPlayerInfo
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -833,7 +833,7 @@ func file_ygopro_proto_init() {
...
@@ -833,7 +833,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
CtosJoinGame
);
i
{
switch
v
:=
v
.
(
*
CtosJoinGame
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -845,7 +845,7 @@ func file_ygopro_proto_init() {
...
@@ -845,7 +845,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
4
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
4
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
CtosUpdateDeck
);
i
{
switch
v
:=
v
.
(
*
CtosUpdateDeck
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -857,7 +857,7 @@ func file_ygopro_proto_init() {
...
@@ -857,7 +857,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
5
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
5
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
StocJoinGame
);
i
{
switch
v
:=
v
.
(
*
StocJoinGame
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -869,7 +869,7 @@ func file_ygopro_proto_init() {
...
@@ -869,7 +869,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
6
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
6
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
StocChat
);
i
{
switch
v
:=
v
.
(
*
StocChat
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -881,7 +881,7 @@ func file_ygopro_proto_init() {
...
@@ -881,7 +881,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
7
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
7
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
StocHsPlayerEnter
);
i
{
switch
v
:=
v
.
(
*
StocHsPlayerEnter
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -893,7 +893,7 @@ func file_ygopro_proto_init() {
...
@@ -893,7 +893,7 @@ func file_ygopro_proto_init() {
return
nil
return
nil
}
}
}
}
file_
ygopro
_proto_msgTypes
[
8
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
ocgcore
_proto_msgTypes
[
8
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
StocTypeChange
);
i
{
switch
v
:=
v
.
(
*
StocTypeChange
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -906,12 +906,12 @@ func file_ygopro_proto_init() {
...
@@ -906,12 +906,12 @@ func file_ygopro_proto_init() {
}
}
}
}
}
}
file_
ygopro
_proto_msgTypes
[
0
]
.
OneofWrappers
=
[]
interface
{}{
file_
ocgcore
_proto_msgTypes
[
0
]
.
OneofWrappers
=
[]
interface
{}{
(
*
YgoCtosMsg_CtosPlayerInfo
)(
nil
),
(
*
YgoCtosMsg_CtosPlayerInfo
)(
nil
),
(
*
YgoCtosMsg_CtosJoinGame
)(
nil
),
(
*
YgoCtosMsg_CtosJoinGame
)(
nil
),
(
*
YgoCtosMsg_CtosUpdateDeck
)(
nil
),
(
*
YgoCtosMsg_CtosUpdateDeck
)(
nil
),
}
}
file_
ygopro
_proto_msgTypes
[
1
]
.
OneofWrappers
=
[]
interface
{}{
file_
ocgcore
_proto_msgTypes
[
1
]
.
OneofWrappers
=
[]
interface
{}{
(
*
YgoStocMsg_StocJoinGame
)(
nil
),
(
*
YgoStocMsg_StocJoinGame
)(
nil
),
(
*
YgoStocMsg_StocChat
)(
nil
),
(
*
YgoStocMsg_StocChat
)(
nil
),
(
*
YgoStocMsg_StocHsPlayerEnter
)(
nil
),
(
*
YgoStocMsg_StocHsPlayerEnter
)(
nil
),
...
@@ -921,18 +921,18 @@ func file_ygopro_proto_init() {
...
@@ -921,18 +921,18 @@ func file_ygopro_proto_init() {
out
:=
protoimpl
.
TypeBuilder
{
out
:=
protoimpl
.
TypeBuilder
{
File
:
protoimpl
.
DescBuilder
{
File
:
protoimpl
.
DescBuilder
{
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
RawDescriptor
:
file_
ygopro
_proto_rawDesc
,
RawDescriptor
:
file_
ocgcore
_proto_rawDesc
,
NumEnums
:
0
,
NumEnums
:
0
,
NumMessages
:
9
,
NumMessages
:
9
,
NumExtensions
:
0
,
NumExtensions
:
0
,
NumServices
:
0
,
NumServices
:
0
,
},
},
GoTypes
:
file_
ygopro
_proto_goTypes
,
GoTypes
:
file_
ocgcore
_proto_goTypes
,
DependencyIndexes
:
file_
ygopro
_proto_depIdxs
,
DependencyIndexes
:
file_
ocgcore
_proto_depIdxs
,
MessageInfos
:
file_
ygopro
_proto_msgTypes
,
MessageInfos
:
file_
ocgcore
_proto_msgTypes
,
}
.
Build
()
}
.
Build
()
File_
ygopro
_proto
=
out
.
File
File_
ocgcore
_proto
=
out
.
File
file_
ygopro
_proto_rawDesc
=
nil
file_
ocgcore
_proto_rawDesc
=
nil
file_
ygopro
_proto_goTypes
=
nil
file_
ocgcore
_proto_goTypes
=
nil
file_
ygopro
_proto_depIdxs
=
nil
file_
ocgcore
_proto_depIdxs
=
nil
}
}
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