Class MiraiBotAvatarChangedEvent

java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
me.dreamvoid.miraimc.sponge.event.bot.AbstractBotEvent
me.dreamvoid.miraimc.sponge.event.bot.MiraiBotAvatarChangedEvent
All Implemented Interfaces:
org.spongepowered.api.event.Event

public class MiraiBotAvatarChangedEvent extends AbstractBotEvent
(Sponge) Bot - Bot 头像改变
  • Field Summary

    Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent

    currentOrder
  • Constructor Summary

    Constructors
    Constructor
    Description
    MiraiBotAvatarChangedEvent(net.mamoe.mirai.event.events.BotAvatarChangedEvent event, org.spongepowered.api.event.Cause cause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    获取机器人头像Url

    Methods inherited from class me.dreamvoid.miraimc.sponge.event.bot.AbstractBotEvent

    cause, getBot, getBotID, getHashCode, getNick, toString

    Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent

    init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.spongepowered.api.event.Event

    context, source
  • Constructor Details

    • MiraiBotAvatarChangedEvent

      public MiraiBotAvatarChangedEvent(net.mamoe.mirai.event.events.BotAvatarChangedEvent event, org.spongepowered.api.event.Cause cause)
  • Method Details

    • getAvatarUrl

      public String getAvatarUrl()
      获取机器人头像Url
      Returns:
      机器人头像Url