Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
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
Mirai
Commits
f322af71
Commit
f322af71
authored
Mar 30, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make protocol classes internal
parent
f496c943
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
.../mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
+6
-7
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/PbReserve.kt
View file @
f322af71
...
@@ -14,8 +14,7 @@ import kotlinx.serialization.protobuf.ProtoId
...
@@ -14,8 +14,7 @@ import kotlinx.serialization.protobuf.ProtoId
import
net.mamoe.mirai.qqandroid.io.ProtoBuf
import
net.mamoe.mirai.qqandroid.io.ProtoBuf
import
net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import
net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
@Serializable
internal
class
Generalflags
:
ProtoBuf
{
class
Generalflags
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
class
ResvAttr
(
@ProtoId
(
1
)
val
globalGroupLevel
:
Int
=
0
,
@ProtoId
(
1
)
val
globalGroupLevel
:
Int
=
0
,
...
@@ -84,7 +83,7 @@ class Generalflags : ProtoBuf {
...
@@ -84,7 +83,7 @@ class Generalflags : ProtoBuf {
}
}
@Serializable
@Serializable
class
ResvAttrForGiftMsg
:
ProtoBuf
{
internal
class
ResvAttrForGiftMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
ActivityGiftInfo
(
class
ActivityGiftInfo
(
@ProtoId
(
1
)
val
isActivityGift
:
Int
=
0
,
@ProtoId
(
1
)
val
isActivityGift
:
Int
=
0
,
...
@@ -106,13 +105,13 @@ class ResvAttrForGiftMsg : ProtoBuf {
...
@@ -106,13 +105,13 @@ class ResvAttrForGiftMsg : ProtoBuf {
@ProtoId
(
4
)
val
buttonFlag
:
Int
=
0
,
@ProtoId
(
4
)
val
buttonFlag
:
Int
=
0
,
@ProtoId
(
5
)
val
objColor
:
Int
=
0
,
@ProtoId
(
5
)
val
objColor
:
Int
=
0
,
@ProtoId
(
6
)
val
animationType
:
Int
=
0
,
@ProtoId
(
6
)
val
animationType
:
Int
=
0
,
@ProtoId
(
7
)
val
msgInteractGift
:
ResvAttrForGiftMsg
.
InteractGift
?
=
null
,
@ProtoId
(
7
)
val
msgInteractGift
:
InteractGift
?
=
null
,
@ProtoId
(
8
)
val
activityGiftInfo
:
ResvAttrForGiftMsg
.
ActivityGiftInfo
?
=
null
@ProtoId
(
8
)
val
activityGiftInfo
:
ActivityGiftInfo
?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
}
}
@Serializable
@Serializable
class
SourceMsg
:
ProtoBuf
{
internal
class
SourceMsg
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
class
ResvAttr
(
@ProtoId
(
1
)
val
richMsg2
:
ByteArray
?
=
null
,
@ProtoId
(
1
)
val
richMsg2
:
ByteArray
?
=
null
,
...
@@ -122,7 +121,7 @@ class SourceMsg : ProtoBuf {
...
@@ -122,7 +121,7 @@ class SourceMsg : ProtoBuf {
}
}
@Serializable
@Serializable
class
VideoFile
:
ProtoBuf
{
internal
class
VideoFile
:
ProtoBuf
{
@Serializable
@Serializable
class
ResvAttr
(
class
ResvAttr
(
@ProtoId
(
1
)
val
hotvideoIcon
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
hotvideoIcon
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
...
...
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