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
7bb9052a
Commit
7bb9052a
authored
Apr 10, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing copyright
parent
f1169047
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
175 additions
and
166 deletions
+175
-166
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Define.kt
...moe/mirai/qqandroid/network/protocol/data/proto/Define.kt
+104
-104
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
...amoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
+13
-13
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
...oe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
+49
-49
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/onlinePush0x210/msgType0x210.kt
...twork/protocol/data/proto/onlinePush0x210/msgType0x210.kt
+9
-0
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Define.kt
View file @
7bb9052a
This diff is collapsed.
Click to expand it.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Group.kt
View file @
7bb9052a
...
@@ -17,51 +17,51 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
...
@@ -17,51 +17,51 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable
@Serializable
internal
class
GroupLabel
:
ProtoBuf
{
internal
class
GroupLabel
:
ProtoBuf
{
@Serializable
@Serializable
internal
class
Label
(
internal
class
Label
(
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
name
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
enumType
:
Int
/* enum */
=
1
,
@ProtoId
(
2
)
val
enumType
:
Int
/* enum */
=
1
,
@ProtoId
(
3
)
val
textColor
:
GroupLabel
.
Color
?
=
null
,
@ProtoId
(
3
)
val
textColor
:
Color
?
=
null
,
@ProtoId
(
4
)
val
edgingColor
:
GroupLabel
.
Color
?
=
null
,
@ProtoId
(
4
)
val
edgingColor
:
Color
?
=
null
,
@ProtoId
(
5
)
val
labelAttr
:
Int
=
0
,
@ProtoId
(
5
)
val
labelAttr
:
Int
=
0
,
@ProtoId
(
6
)
val
labelType
:
Int
=
0
@ProtoId
(
6
)
val
labelType
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
RspBody
(
internal
class
RspBody
(
@ProtoId
(
1
)
val
error
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
1
)
val
error
:
ByteArray
=
EMPTY_BYTE_ARRAY
,
@ProtoId
(
2
)
val
groupInfo
:
List
<
Group
Label
.
Group
Info
>?
=
null
@ProtoId
(
2
)
val
groupInfo
:
List
<
GroupInfo
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
SourceId
(
internal
class
SourceId
(
@ProtoId
(
1
)
val
sourceId
:
Int
=
0
@ProtoId
(
1
)
val
sourceId
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
GroupInfo
(
internal
class
GroupInfo
(
@ProtoId
(
1
)
val
int32Result
:
Int
=
0
,
@ProtoId
(
1
)
val
int32Result
:
Int
=
0
,
@ProtoId
(
2
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
2
)
val
groupCode
:
Long
=
0L
,
@ProtoId
(
3
)
val
groupLabel
:
List
<
GroupLabel
.
Label
>?
=
null
@ProtoId
(
3
)
val
groupLabel
:
List
<
Label
>?
=
null
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
Color
(
internal
class
Color
(
@ProtoId
(
1
)
val
r
:
Int
=
0
,
@ProtoId
(
1
)
val
r
:
Int
=
0
,
@ProtoId
(
2
)
val
g
:
Int
=
0
,
@ProtoId
(
2
)
val
g
:
Int
=
0
,
@ProtoId
(
3
)
val
b
:
Int
=
0
@ProtoId
(
3
)
val
b
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
ReqBody
(
internal
class
ReqBody
(
@ProtoId
(
1
)
val
sourceId
:
GroupLabel
.
SourceId
?
=
null
,
@ProtoId
(
1
)
val
sourceId
:
SourceId
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
GroupLabel
.
UinInfo
?
=
null
,
@ProtoId
(
2
)
val
uinInfo
:
UinInfo
?
=
null
,
@ProtoId
(
3
)
val
numberLabel
:
Int
=
5
,
@ProtoId
(
3
)
val
numberLabel
:
Int
=
5
,
@ProtoId
(
4
)
val
groupCode
:
List
<
Long
>?
=
null
,
@ProtoId
(
4
)
val
groupCode
:
List
<
Long
>?
=
null
,
@ProtoId
(
5
)
val
labelStyle
:
Int
=
0
@ProtoId
(
5
)
val
labelStyle
:
Int
=
0
)
:
ProtoBuf
)
:
ProtoBuf
@Serializable
@Serializable
internal
class
UinInfo
(
internal
class
UinInfo
(
@ProtoId
(
1
)
val
int64Longitude
:
Long
=
0L
,
@ProtoId
(
1
)
val
int64Longitude
:
Long
=
0L
,
@ProtoId
(
2
)
val
int64Latitude
:
Long
=
0L
@ProtoId
(
2
)
val
int64Latitude
:
Long
=
0L
)
:
ProtoBuf
)
:
ProtoBuf
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Highway.kt
View file @
7bb9052a
This diff is collapsed.
Click to expand it.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/onlinePush0x210/msgType0x210.kt
View file @
7bb9052a
/*
* Copyright 2020 Mamoe Technologies and contributors.
*
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
*
* https://github.com/mamoe/mirai/blob/master/LICENSE
*/
@
file
:
Suppress
(
"unused"
,
"SpellCheckingInspection"
)
@
file
:
Suppress
(
"unused"
,
"SpellCheckingInspection"
)
package
net.mamoe.mirai.qqandroid.network.protocol.data.proto.onlinePush0x210
package
net.mamoe.mirai.qqandroid.network.protocol.data.proto.onlinePush0x210
...
...
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