public class EconomyChangeEvent extends Event
Event.Result
Modifier and Type | Field and Description |
---|---|
protected static HandlerList |
handlers
HandlerList for this event |
Constructor and Description |
---|
EconomyChangeEvent(OfflinePlayer p,
double money)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList()
Returns the
HandlerList that Bukkit uses to register plugins
for events |
HandlerList |
getHandlers() |
double |
getNewBalance()
Returns the new balance for the
OfflinePlayer |
OfflinePlayer |
getPlayer()
The
OfflinePlayer whose balance changed |
getEventName, isAsynchronous
protected static final HandlerList handlers
HandlerList
for this eventpublic EconomyChangeEvent(OfflinePlayer p, double money)
OfflinePlayer
and money to fieldsp
- The OfflinePlayer
whose balance changedmoney
- The new balancepublic OfflinePlayer getPlayer()
OfflinePlayer
whose balance changedOfflinePlayer
objectpublic double getNewBalance()
OfflinePlayer
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
HandlerList
that Bukkit uses to register plugins
for eventsHandlerList
for this eventCopyright © 2017. All rights reserved.