Package com.bencodez.votingplugin.events
Class PlayerPostVoteEvent
java.lang.Object
org.bukkit.event.Event
com.bencodez.votingplugin.events.PlayerPostVoteEvent
public class PlayerPostVoteEvent
extends org.bukkit.event.Event
The Class PlayerVoteEvent.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerPostVoteEvent
(VoteSite voteSite, VotingPluginUser user, boolean realVote, boolean forceBungee, long voteTime) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Gets the handler list.org.bukkit.event.HandlerList
getUser()
long
boolean
isBungee()
boolean
boolean
boolean
void
setBungee
(boolean bungee) void
setBungeeTextTotals
(BungeeMessageData bungeeTextTotals) void
setCancelled
(boolean cancelled) void
setForceBungee
(boolean forceBungee) void
setRealVote
(boolean realVote) void
setUser
(VotingPluginUser user) void
setVoteSite
(VoteSite voteSite) void
setVoteTime
(long voteTime) void
setVotingPluginUser
(VotingPluginUser votingPluginUser) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerPostVoteEvent
public PlayerPostVoteEvent(VoteSite voteSite, VotingPluginUser user, boolean realVote, boolean forceBungee, long voteTime)
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Gets the handler list.- Returns:
- the handler list
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
isBungee
public boolean isBungee() -
setBungee
public void setBungee(boolean bungee) -
getBungeeTextTotals
-
setBungeeTextTotals
-
isCancelled
public boolean isCancelled() -
setCancelled
public void setCancelled(boolean cancelled) -
isForceBungee
public boolean isForceBungee() -
setForceBungee
public void setForceBungee(boolean forceBungee) -
getUser
-
setUser
-
isRealVote
public boolean isRealVote() -
setRealVote
public void setRealVote(boolean realVote) -
getVoteSite
-
setVoteSite
-
getVoteTime
public long getVoteTime() -
setVoteTime
public void setVoteTime(long voteTime) -
getVotingPluginUser
-
setVotingPluginUser
-