Class VotifierEvent
java.lang.Object
com.vexsoftware.votifier.velocity.event.VotifierEvent
- All Implemented Interfaces:
com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
public class VotifierEvent
extends Object
implements com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.event.ResultedEvent
com.velocitypowered.api.event.ResultedEvent.ComponentResult, com.velocitypowered.api.event.ResultedEvent.GenericResult, com.velocitypowered.api.event.ResultedEvent.Result -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VotifierEvent
public VotifierEvent(com.vexsoftware.votifier.model.Vote vote)
-
-
Method Details
-
getVote
public com.vexsoftware.votifier.model.Vote getVote() -
getResult
public com.velocitypowered.api.event.ResultedEvent.GenericResult getResult()- Specified by:
getResultin interfacecom.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
-
setResult
public void setResult(com.velocitypowered.api.event.ResultedEvent.GenericResult result) - Specified by:
setResultin interfacecom.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
-
toString
-