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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vexsoftware.votifier.model.VotegetVote()booleanvoidsetCancelled(boolean cancel) Methods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
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:
isCancelledin interfacenet.md_5.bungee.api.plugin.Cancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelledin interfacenet.md_5.bungee.api.plugin.Cancellable
-