Class AuctionSellEvent
java.lang.Object
org.bukkit.event.Event
fr.maxlego08.zauctionhouse.api.event.AuctionEvent
fr.maxlego08.zauctionhouse.api.event.CancelledAuctionEvent
fr.maxlego08.zauctionhouse.api.event.events.AuctionSellEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionAuctionSellEvent(AuctionItem auctionItem, long price, org.bukkit.entity.Player player, AuctionEconomy economy, IMessage message) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.PlayerlonggetPrice()voidsetMessage(IMessage message) Methods inherited from class fr.maxlego08.zauctionhouse.api.event.CancelledAuctionEvent
isCancelled, setCancelledMethods inherited from class fr.maxlego08.zauctionhouse.api.event.AuctionEvent
callEvent, getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AuctionSellEvent
public AuctionSellEvent(AuctionItem auctionItem, long price, org.bukkit.entity.Player player, AuctionEconomy economy, IMessage message) - Parameters:
auctionItem-price-player-economy-message-
-
-
Method Details
-
getAuctionItem
- Returns:
- the auctionItem
-
getPrice
public long getPrice()- Returns:
- the price
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
- the player
-
getEconomy
- Returns:
- the economy
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message- the message to set
-