类 MiraiFriendMessagePostSendEvent
java.lang.Object
org.bukkit.event.Event
me.dreamvoid.miraimc.bukkit.event.message.postsend.AbstractMessagePostSendEvent
me.dreamvoid.miraimc.bukkit.event.message.postsend.MiraiFriendMessagePostSendEvent
- 直接已知子类:
MiraiFriendMessagePostSendEvent
(Bukkit) 消息 - 主动发送消息后 - 好友消息
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
构造器概要
构造器说明MiraiFriendMessagePostSendEvent
(net.mamoe.mirai.event.events.FriendMessagePostSendEvent event) -
方法概要
修饰符和类型方法说明获取好友实例long
返回目标好友的QQ号返回目标好友的昵称返回目标好友的备注名从类继承的方法 me.dreamvoid.miraimc.bukkit.event.message.postsend.AbstractMessagePostSendEvent
getBotID, getHandlerList, getHandlers, getMessage, getMessageContent, getMessageToMiraiCode, getMessageToString, getQuoteReplyMessage, getQuoteReplyMessageContent, getQuoteReplyMessageToMiraiCode, getQuoteReplyMessageToString, getQuoteReplySenderID, getTargetID, recall, recall, toString
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
MiraiFriendMessagePostSendEvent
public MiraiFriendMessagePostSendEvent(net.mamoe.mirai.event.events.FriendMessagePostSendEvent event)
-
-
方法详细资料
-
getFriendID
public long getFriendID()返回目标好友的QQ号- 返回:
- 好友QQ号
-
getFriendNickName
返回目标好友的昵称- 返回:
- 昵称
-
getFriendRemark
返回目标好友的备注名- 返回:
- 备注名
-
getFriend
获取好友实例- 返回:
- MiraiFriend 实例
-