Class VotifierEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
com.vexsoftware.votifier.bungee.events.VotifierEvent
All Implemented Interfaces:
net.md_5.bungee.api.plugin.Cancellable

public class VotifierEvent extends net.md_5.bungee.api.plugin.Event implements net.md_5.bungee.api.plugin.Cancellable
VotifierEvent is a custom BungeeCord event class that is sent asynchronously allowing other plugins to listen for votes.
  • Constructor Details

    • VotifierEvent

      public VotifierEvent(com.vexsoftware.votifier.model.Vote vote)
  • Method Details

    • getVote

      public com.vexsoftware.votifier.model.Vote getVote()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface net.md_5.bungee.api.plugin.Cancellable
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface net.md_5.bungee.api.plugin.Cancellable