com.vexsoftware.votifier.model
Class VotifierEvent
java.lang.Object
org.bukkit.event.Event
com.vexsoftware.votifier.model.VotifierEvent
public class VotifierEvent
- extends org.bukkit.event.Event
VotifierEvent is a custom Bukkit event class that is sent
synchronously to CraftBukkit's main thread allowing other plugins to listener
for votes.
- Author:
- frelling
| Nested classes/interfaces inherited from class org.bukkit.event.Event |
org.bukkit.event.Event.Result |
|
Constructor Summary |
VotifierEvent(Vote vote)
Constructs a vote event that encapsulated the given vote record. |
| Methods inherited from class org.bukkit.event.Event |
getEventName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VotifierEvent
public VotifierEvent(Vote vote)
- Constructs a vote event that encapsulated the given vote record.
- Parameters:
vote - vote record
getVote
public Vote getVote()
- Return the encapsulated vote record.
- Returns:
- vote record
getHandlers
public org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers in class org.bukkit.event.Event
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.