Package com.plotsquared.core.events
Class PlotRateEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlotRateEvent
- All Implemented Interfaces:
CancellablePlotEvent
-
Constructor Summary
ConstructorDescriptionPlotRateEvent
(PlotPlayer<?> rater, @Nullable Rating rating, Plot plot) PlotRateEvent: Called when a player rates a plot -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotEvent
getEventName, getPlot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.plotsquared.core.events.CancellablePlotEvent
getEventResultRaw
-
Constructor Details
-
PlotRateEvent
PlotRateEvent: Called when a player rates a plot- Parameters:
rater
- The player rating the plotrating
- The rating being givenplot
- The plot being rated
-
-
Method Details
-
getRater
-
getRating
-
setRating
-
getEventResult
- Specified by:
getEventResult
in interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResult
in interfaceCancellablePlotEvent
-