类 MiraiStrangerMessagePreSendEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
me.dreamvoid.miraimc.sponge.event.message.presend.AbstractMessagePreSendEvent
me.dreamvoid.miraimc.sponge.event.message.presend.MiraiStrangerMessagePreSendEvent
- 所有已实现的接口:
Cancellable
,Event
- 直接已知子类:
MiraiStrangerMessagePreSendEvent
(Sponge) 消息 - 主动发送消息前 - 陌生人消息
-
字段概要
从类继承的字段 org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
构造器概要
构造器说明MiraiStrangerMessagePreSendEvent
(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event, Cause cause) -
方法概要
从类继承的方法 me.dreamvoid.miraimc.sponge.event.message.presend.AbstractMessagePreSendEvent
getBotID, getCause, getMessage, getMessageContent, getMessageToString, getTargetID, isCancelled, setCancelled, setMessage, toString
从类继承的方法 org.spongepowered.api.event.impl.AbstractEvent
init
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 org.spongepowered.api.event.Event
getContext, getSource
-
构造器详细资料
-
MiraiStrangerMessagePreSendEvent
public MiraiStrangerMessagePreSendEvent(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event, Cause cause)
-
-
方法详细资料
-
getTargetNick
返回接收这条信息的目标昵称- 返回:
- 目标昵称
-
getFriendRemark
返回接收者的备注名- 返回:
- 备注名
-