Class VotifierEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
com.vexsoftware.votifier.sponge.event.VotifierEvent
- All Implemented Interfaces:
org.spongepowered.api.event.Event
public class VotifierEvent
extends org.spongepowered.api.event.impl.AbstractEvent
This event is posted whenever a vote is received and processed by NuVotifier. Note that NuVotifier posts this event
synchronously.
-
Field Summary
Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent
currentOrder -
Constructor Summary
ConstructorsConstructorDescriptionVotifierEvent(com.vexsoftware.votifier.model.Vote vote, org.spongepowered.api.event.Cause cause, Object source, org.spongepowered.api.event.EventContext context) -
Method Summary
Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent
init
-
Constructor Details
-
VotifierEvent
public VotifierEvent(com.vexsoftware.votifier.model.Vote vote, org.spongepowered.api.event.Cause cause, Object source, org.spongepowered.api.event.EventContext context)
-
-
Method Details
-
vote
public com.vexsoftware.votifier.model.Vote vote() -
cause
public org.spongepowered.api.event.Cause cause() -
source
-
context
public org.spongepowered.api.event.EventContext context()
-