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
a5eb48ec
Commit
a5eb48ec
authored
Feb 16, 2020
by
jiahua.liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ab160776
f0e0ae03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
69 deletions
+4
-69
README.md
README.md
+4
-0
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Common.kt
...moe/mirai/qqandroid/network/protocol/data/proto/Common.kt
+0
-69
No files found.
README.md
View file @
a5eb48ec
...
...
@@ -157,6 +157,10 @@ bot.subscribeAlways<MemberPermissionChangedEvent> {
-
[
javafx
](
https://github.com/openjdk/jfx
)
-
[
kotlinx-serialization
](
https://github.com/Kotlin/kotlinx.serialization
)
-
[
bouncycastle
](
https://www.bouncycastle.org/java.html
)
-
[
lanterna
](
https://github.com/mabe02/lanterna/tree/master
)
-
[
fastjson
](
https://github.com/alibaba/fastjson
)
-
[
toml4j
](
https://github.com/mwanji/toml4j
)
-
[
snakeyaml
](
https://mvnrepository.com/artifact/org.yaml/snakeyaml
)
## License
协议原版权归属腾讯科技股份有限公司所有,本项目其他代码遵守:
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/proto/Common.kt
deleted
100644 → 0
View file @
ab160776
/*
* 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
*/
import
kotlinx.serialization.SerialId
import
kotlinx.serialization.Serializable
import
net.mamoe.mirai.qqandroid.io.ProtoBuf
@Serializable
class
Common
:
ProtoBuf
{
@Serializable
class
BindInfo
(
@SerialId
(
1
)
val
friUin
:
Long
=
0L
,
@SerialId
(
2
)
val
friNick
:
String
=
""
,
@SerialId
(
3
)
val
time
:
Long
=
0L
,
@SerialId
(
4
)
val
bindStatus
:
Int
=
0
)
:
ProtoBuf
@Serializable
class
MedalInfo
(
@SerialId
(
1
)
val
id
:
Int
=
0
,
@SerialId
(
2
)
val
type
:
Int
=
0
,
@SerialId
(
4
)
val
seq
:
Long
=
0
,
@SerialId
(
5
)
val
name
:
String
=
""
,
@SerialId
(
6
)
val
newflag
:
Int
=
0
,
@SerialId
(
7
)
val
time
:
Long
=
0L
,
@SerialId
(
8
)
val
msgBindFri
:
Common
.
BindInfo
?
=
null
,
@SerialId
(
11
)
val
desc
:
String
=
""
,
@SerialId
(
31
)
val
level
:
Int
=
0
,
@SerialId
(
36
)
val
taskinfos
:
List
<
Common
.
MedalTaskInfo
>?
=
null
,
@SerialId
(
40
)
val
point
:
Int
=
0
,
@SerialId
(
41
)
val
pointLevel2
:
Int
=
0
,
@SerialId
(
42
)
val
pointLevel3
:
Int
=
0
,
@SerialId
(
43
)
val
seqLevel2
:
Long
=
0
,
@SerialId
(
44
)
val
seqLevel3
:
Long
=
0
,
@SerialId
(
45
)
val
timeLevel2
:
Long
=
0L
,
@SerialId
(
46
)
val
timeLevel3
:
Long
=
0L
,
@SerialId
(
47
)
val
descLevel2
:
String
=
""
,
@SerialId
(
48
)
val
descLevel3
:
String
=
""
,
@SerialId
(
49
)
val
endtime
:
Int
=
0
,
@SerialId
(
50
)
val
detailUrl
:
String
=
""
,
@SerialId
(
51
)
val
detailUrl2
:
String
=
""
,
@SerialId
(
52
)
val
detailUrl3
:
String
=
""
,
@SerialId
(
53
)
val
taskDesc
:
String
=
""
,
@SerialId
(
54
)
val
taskDesc2
:
String
=
""
,
@SerialId
(
55
)
val
taskDesc3
:
String
=
""
,
@SerialId
(
56
)
val
levelCount
:
Int
=
0
,
@SerialId
(
57
)
val
noProgress
:
Int
=
0
,
@SerialId
(
58
)
val
resource
:
String
=
""
,
@SerialId
(
59
)
val
fromuinLevel
:
Int
=
0
,
@SerialId
(
60
)
val
unread
:
Int
=
0
,
@SerialId
(
61
)
val
unread2
:
Int
=
0
,
@SerialId
(
62
)
val
unread3
:
Int
=
0
)
:
ProtoBuf
@Serializable
class
MedalTaskInfo
(
@SerialId
(
1
)
val
taskid
:
Int
=
0
,
@SerialId
(
32
)
val
int32TaskValue
:
Int
=
0
,
@SerialId
(
33
)
val
tarValue
:
Int
=
0
,
@SerialId
(
34
)
val
tarValueLevel2
:
Int
=
0
,
@SerialId
(
35
)
val
tarValueLevel3
:
Int
=
0
)
:
ProtoBuf
}
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