类 MiraiStrangerMessagePreSendEvent
java.lang.Object
org.bukkit.event.Event
me.dreamvoid.miraimc.bukkit.event.message.presend.AbstractMessagePreSendEvent
me.dreamvoid.miraimc.bukkit.event.message.presend.MiraiStrangerMessagePreSendEvent
- 所有已实现的接口:
Cancellable
- 直接已知子类:
MiraiStrangerMessagePreSendEvent
(Bukkit) 消息 - 主动发送消息前 - 陌生人消息
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
构造器概要
构造器说明MiraiStrangerMessagePreSendEvent
(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event) -
方法概要
从类继承的方法 me.dreamvoid.miraimc.bukkit.event.message.presend.AbstractMessagePreSendEvent
getBotID, getHandlerList, getHandlers, getMessage, getMessageContent, getMessageToString, getTargetID, isCancelled, setCancelled, setMessage, toString
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
MiraiStrangerMessagePreSendEvent
public MiraiStrangerMessagePreSendEvent(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event)
-
-
方法详细资料
-
getTargetNick
返回接收这条信息的目标昵称- 返回:
- 目标昵称
-
getFriendRemark
返回接收者的备注名- 返回:
- 备注名
-