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
752ec5b8
Commit
752ec5b8
authored
May 02, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement FriendEvent
parent
8366c353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
...mmonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
+6
-6
No files found.
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
View file @
752ec5b8
...
...
@@ -652,9 +652,9 @@ data class MemberUnmuteEvent(
@SinceMirai
(
"0.36.0"
)
data class
FriendRemarkChangeEvent
(
override
val
bot
:
Bot
,
val
friend
:
Friend
,
override
val
friend
:
Friend
,
val
newName
:
String
)
:
Bot
Event
,
Packet
,
AbstractEvent
()
)
:
Friend
Event
,
Packet
,
AbstractEvent
()
/**
* 成功添加了一个新好友的事件
...
...
@@ -664,8 +664,8 @@ data class FriendAddEvent(
/**
* 新好友. 已经添加到 [Bot.friends]
*/
val
friend
:
Friend
)
:
Bot
Event
,
Packet
,
AbstractEvent
()
{
override
val
friend
:
Friend
)
:
Friend
Event
,
Packet
,
AbstractEvent
()
{
override
val
bot
:
Bot
get
()
=
friend
.
bot
}
...
...
@@ -674,8 +674,8 @@ data class FriendAddEvent(
*/
@SinceMirai
(
"0.36.0"
)
data class
FriendDeleteEvent
(
val
friend
:
Friend
)
:
Bot
Event
,
Packet
,
AbstractEvent
()
{
override
val
friend
:
Friend
)
:
Friend
Event
,
Packet
,
AbstractEvent
()
{
override
val
bot
:
Bot
get
()
=
friend
.
bot
}
...
...
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