Class EmotesCacheUpdatedEvent

java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.emotes.EmotesEvent
tv.phantombot.event.emotes.EmotesCacheUpdatedEvent

public class EmotesCacheUpdatedEvent extends EmotesEvent
This Event is emitted from the emotesHandler after it updated the emotes cache. It transports the new cache contents to subscribed clients. It uses NativeObjects to avoid transforming the data into Java native types just to transform it back to JavaScript objects on the receiver site.
  • Constructor Details

    • EmotesCacheUpdatedEvent

      public EmotesCacheUpdatedEvent(org.mozilla.javascript.NativeObject emoteSets)
  • Method Details

    • getEmoteSets

      public org.mozilla.javascript.NativeObject getEmoteSets()