Created
January 21, 2017 23:22
-
-
Save TheMasteredPanda/7b181d6038036b166f1dc1e17999ccef to your computer and use it in GitHub Desktop.
Listing.class for every Listing in MAuctionHouse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.themasteredpanda.mauctionhouse.api.auction; | |
import lombok.Getter; | |
import lombok.Setter; | |
import org.bukkit.inventory.ItemStack; | |
import java.util.UUID; | |
/** | |
* Created by TheMasteredPanda on 16/01/2017. | |
*/ | |
public class Listing | |
{ | |
private @Getter UUID listingID; | |
private @Getter UUID auctioneer; | |
private @Getter @Setter UUID highestCurrentBidder; | |
private @Getter long startPrice; | |
private @Getter @Setter long currentPrice; | |
private @Getter long lowestPossibleBid; | |
private @Getter ItemStack item; | |
private @Getter float listingDuration; | |
private @Getter boolean expired; | |
public Listing(UUID listingID, ItemStack item, UUID auctioneer, UUID highestCurrentBidder, long startPrice, long currentPrice, long lowestPossibleBid, float listingDuration, boolean expired) | |
{ | |
this.listingID = listingID; | |
this.auctioneer = auctioneer; | |
this.startPrice = startPrice; | |
this.currentPrice = currentPrice; | |
this.lowestPossibleBid = lowestPossibleBid; | |
this.listingDuration = listingDuration; | |
this.expired = expired; | |
this.item = item; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment