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

    Constructors
    Constructor
    Description
    VotifierEvent(com.vexsoftware.votifier.model.Vote vote, org.spongepowered.api.event.Cause cause, Object source, org.spongepowered.api.event.EventContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.spongepowered.api.event.Cause
     
    org.spongepowered.api.event.EventContext
     
     
    com.vexsoftware.votifier.model.Vote
     

    Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent

    init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public Object source()
    • context

      public org.spongepowered.api.event.EventContext context()