|
RuneHive-Game
|
Classes | |
| class | TradingPostActiveListingSearch |
| enum | TradingPostActiveListingSearchType |
| class | TradingPostActiveListingSort |
| enum | TradingPostSortType |
Public Member Functions | |
| void | addSearchResultsAndUpdateInterface (TradingPostActiveListingSearch search) |
| void | addToCoffer (String owner, int amount) |
| void | addToItemHistory (ItemHistory itemHistory) |
| void | buyingDialogueOptions (int amount) |
| void | cleanUp () |
| boolean | delist (TradingPostListing listing) |
| CompletableFuture< Coffer > | getCoffer (final String owner) |
| void | getOrMakeNewCofferIfNotExists (final String owner, final Consumer< Coffer > useCoffer) |
| List< ItemHistory > | getPlayersItemHistory () |
| boolean | handleButtonClick (int btnId) |
| void | openOverviewInterface () |
| void | saveCoffer (final Coffer coffer) |
| void | saveListings (final String owner, final List< TradingPostListing > listings) |
| void | selectItemToList (Item item) |
| void | sendItemHistoryData (List< ItemHistory > itemHistories) |
| void | sortQuantity () |
| void | testData () |
| TradingPost (Player player) | |
| void | updateCofferAmountWidget () |
| void | updatePriceStrings () |
| void | updateQuantityString () |
Static Public Member Functions | |
| static void | createFileAndDirIfNotExists (File file) |
| static void | loadAllListings () |
| static void | loadItemHistory () |
| static void | loadRecentItemHistory () |
| static void | saveAllItemHistory () |
| static void | saveRecentHistory () |
Static Public Attributes | |
| static final int | BUYING_PAGE_INTERFACE_ID = 80174 |
Private Attributes | |
| final AhoCorasickDoubleArrayTrie< String > | acdat = new AhoCorasickDoubleArrayTrie<>() |
| List< TradingPostListing > | displayedPageListings = new ArrayList<>() |
| The displayed listings on the buying page. | |
| TradingPostListing | listingToAdd |
| The listing that the player will add to their existing listings. | |
| TradingPostListing | listingToBuy |
| The listing that the player selects in the buying page. | |
| List< TradingPostListing > | myListings = new ArrayList<>() |
| List containing the players existing listings/offers. | |
| int | page |
| The page # of the buying interface. | |
| final Player | player |
| final List< ItemHistory > | playersItemHistory = new ArrayList<>() |
| contains last 50 players buying history | |
| List< TradingPostListing > | searchedListings = new ArrayList<>() |
| The current searched listings. | |
| TradingPostActiveListingSearch | tradingPostSearch |
| The current item or player search. | |
| TradingPostActiveListingSort | tradingPostSort |
| The current sort of the buyable listings. | |
Static Private Attributes | |
| static final Map< String, Coffer > | allCoffers = Collections.synchronizedMap(new HashMap<>()) |
| Hashmap containing the coffers <PlayerName, Coffer> | |
| static final List< TradingPostListing > | allListings = new ArrayList<>() |
| A list containing all the trading post listings. | |
| static final int | CURRENCY_ID = 995 |
| static final int | HISTORY_PAGE_INTERFACE_ID = 80616 |
| static final Map< String, List< ItemHistory > > | itemHistories = new HashMap<>() |
| Contains a list of the last 50 sold of each item. | |
| static final Logger | logger = LoggerFactory.getLogger(TradingPost.class) |
| static final int | MAX_LISTING_SIZE = 20 |
| static final int | MAX_LISTINGS_SHOWN = 50 |
| static final int | OVERVIEW_INTERFACE_ID = 80000 |
| static final List< ItemHistory > | recentlySoldItems = new ArrayList<>() |
| contains the last 50 sold items on the trading post | |
| static final int | TAX_RATE = 10 |
Definition at line 33 of file TradingPost.java.
| com.runehive.content.tradingpost.TradingPost.TradingPost | ( | Player | player | ) |
Definition at line 114 of file TradingPost.java.
References player.
| void com.runehive.content.tradingpost.TradingPost.addSearchResultsAndUpdateInterface | ( | TradingPostActiveListingSearch | search | ) |
Definition at line 426 of file TradingPost.java.
References getPageListings(), getSearchResults(), searchedListings, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearch.searchType, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearch.text, and updateBuyingPageWidgets().
Referenced by displayMostRecentListings(), purchase(), refresh(), and searchExistingListing().
| void com.runehive.content.tradingpost.TradingPost.addToCoffer | ( | String | owner, |
| int | amount ) |
Definition at line 784 of file TradingPost.java.
References getOrMakeNewCofferIfNotExists(), saveCoffer(), and TAX_RATE.
Referenced by purchase().
| void com.runehive.content.tradingpost.TradingPost.addToItemHistory | ( | ItemHistory | itemHistory | ) |
Definition at line 762 of file TradingPost.java.
References com.runehive.game.world.items.ItemDefinition.get(), com.runehive.content.tradingpost.ItemHistory.getItemId(), com.runehive.game.world.items.ItemDefinition.getName(), itemHistories, playersItemHistory, and recentlySoldItems.
Referenced by purchase().
|
private |
Definition at line 693 of file TradingPost.java.
References OVERVIEW_INTERFACE_ID, player, and com.runehive.game.world.World.search().
Referenced by purchase().
| void com.runehive.content.tradingpost.TradingPost.buyingDialogueOptions | ( | int | amount | ) |
Definition at line 677 of file TradingPost.java.
References CURRENCY_ID, com.runehive.util.Utility.formatDigits(), com.runehive.game.world.items.ItemDefinition.get(), com.runehive.game.world.items.ItemDefinition.getName(), listingToBuy, player, and purchase().
Referenced by handleBuyingButton().
| void com.runehive.content.tradingpost.TradingPost.cleanUp | ( | ) |
Definition at line 847 of file TradingPost.java.
References displayedPageListings, listingToAdd, listingToBuy, page, searchedListings, tradingPostSearch, and tradingPostSort.
Referenced by openOverviewInterface(), and searchExistingListing().
|
private |
Definition at line 555 of file TradingPost.java.
References player.
Referenced by openSellingOverlay().
|
private |
Definition at line 572 of file TradingPost.java.
References allListings, getListingsByName(), getSlotSizeByDonatorRank(), listingToAdd, myListings, openSellingOverlay(), player, saveListings(), updateExistingListingsList(), and updateExistingListingsWidgets().
Referenced by handleSellingOverlayButtons().
|
static |
Definition at line 1061 of file TradingPost.java.
Referenced by loadItemHistory(), and loadRecentItemHistory().
| boolean com.runehive.content.tradingpost.TradingPost.delist | ( | TradingPostListing | listing | ) |
Definition at line 831 of file TradingPost.java.
References allListings, and myListings.
Referenced by handleDismissListingButton().
|
private |
Definition at line 404 of file TradingPost.java.
References addSearchResultsAndUpdateInterface(), BUYING_PAGE_INTERFACE_ID, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearchType.MOST_RECENT, player, and tradingPostSearch.
Referenced by handleButtonClick(), purchase(), refresh(), and searchExistingListing().
|
private |
Definition at line 568 of file TradingPost.java.
References listingToAdd, and player.
Referenced by handleSellingOverlayButtons().
|
private |
Definition at line 564 of file TradingPost.java.
References listingToAdd, and player.
Referenced by handleSellingOverlayButtons().
| CompletableFuture< Coffer > com.runehive.content.tradingpost.TradingPost.getCoffer | ( | final String | owner | ) |
Definition at line 896 of file TradingPost.java.
References allCoffers, com.runehive.content.tradingpost.Coffer.getOwner(), com.runehive.util.GsonUtils.JSON_ALLOW_NULL, and logger.
Referenced by getOrMakeNewCofferIfNotExists().
|
private |
Definition at line 604 of file TradingPost.java.
References com.runehive.game.world.items.ItemDefinition.get(), and com.runehive.game.world.items.ItemDefinition.isNoted().
Referenced by updateBuyingPageWidgets(), and updateExistingListingsWidgets().
|
private |
Definition at line 613 of file TradingPost.java.
References com.runehive.game.world.items.ItemDefinition.get(), and com.runehive.game.world.items.ItemDefinition.isNoted().
Referenced by sendItemHistoryData().
|
private |
Definition at line 597 of file TradingPost.java.
References allListings.
Referenced by confirmToAddListing(), handleDismissListingButton(), purchase(), and updateExistingListingsList().
| void com.runehive.content.tradingpost.TradingPost.getOrMakeNewCofferIfNotExists | ( | final String | owner, |
| final Consumer< Coffer > | useCoffer ) |
Definition at line 791 of file TradingPost.java.
References allCoffers, getCoffer(), and saveCoffer().
Referenced by addToCoffer(), updateCofferAmountWidget(), and withdrawFromCoffer().
|
private |
Definition at line 450 of file TradingPost.java.
References MAX_LISTINGS_SHOWN, page, and player.
Referenced by addSearchResultsAndUpdateInterface(), nextPage(), previousPage(), and sort().
| List< ItemHistory > com.runehive.content.tradingpost.TradingPost.getPlayersItemHistory | ( | ) |
Definition at line 1074 of file TradingPost.java.
References playersItemHistory.
|
private |
Definition at line 432 of file TradingPost.java.
References allListings, com.runehive.game.world.items.ItemDefinition.get(), com.runehive.game.world.items.ItemDefinition.getName(), com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearchType.ITEM, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearchType.MOST_RECENT, and tradingPostSearch.
Referenced by addSearchResultsAndUpdateInterface().
|
private |
Definition at line 499 of file TradingPost.java.
References MAX_LISTING_SIZE, and player.
Referenced by confirmToAddListing().
| boolean com.runehive.content.tradingpost.TradingPost.handleButtonClick | ( | int | btnId | ) |
Definition at line 133 of file TradingPost.java.
References BUYING_PAGE_INTERFACE_ID, displayMostRecentListings(), handleBuyingButton(), handleDismissListingButton(), handleSellingOverlayButtons(), HISTORY_PAGE_INTERFACE_ID, nextPage(), openOverviewInterface(), openSellingOverlay(), OVERVIEW_INTERFACE_ID, player, playersItemHistory, previousPage(), recentlySoldItems, refresh(), searchExistingItemInput(), searchItemHistoryInput(), searchPlayerInput(), sendItemHistoryData(), sortPrice(), sortQuantity(), toggleSellingOverlayVisibilityAndOpen(), and withdrawFromCoffer().
|
private |
Definition at line 647 of file TradingPost.java.
References allListings, buyingDialogueOptions(), displayedPageListings, com.runehive.game.world.items.ItemDefinition.get(), com.runehive.game.world.items.ItemDefinition.getName(), listingToBuy, and player.
Referenced by handleButtonClick().
|
private |
Definition at line 803 of file TradingPost.java.
References delist(), com.runehive.content.tradingpost.TradingPostListing.getAmountLeft(), com.runehive.content.tradingpost.TradingPostListing.getItemId(), getListingsByName(), myListings, openOverviewInterface(), player, and saveListings().
Referenced by handleButtonClick().
|
private |
Definition at line 380 of file TradingPost.java.
References confirmToAddListing(), editPriceInputPrompt(), editQuantityInputPrompt(), listingToAdd, and player.
Referenced by handleButtonClick().
|
static |
Definition at line 948 of file TradingPost.java.
References allListings, com.runehive.util.GsonUtils.JSON_ALLOW_NULL, and logger.
Referenced by com.runehive.RuneHive.processParallelStartupTasks().
|
static |
Definition at line 1020 of file TradingPost.java.
References createFileAndDirIfNotExists(), and itemHistories.
Referenced by com.runehive.RuneHive.processParallelStartupTasks().
|
static |
Definition at line 1042 of file TradingPost.java.
References createFileAndDirIfNotExists(), and recentlySoldItems.
Referenced by com.runehive.RuneHive.processParallelStartupTasks().
|
private |
Definition at line 362 of file TradingPost.java.
References getPageListings(), page, player, searchedListings, and updateBuyingPageWidgets().
Referenced by handleButtonClick().
| void com.runehive.content.tradingpost.TradingPost.openOverviewInterface | ( | ) |
Definition at line 118 of file TradingPost.java.
References cleanUp(), OVERVIEW_INTERFACE_ID, player, toggleSellingOverlayVisibilityAndOpen(), updateCofferAmountWidget(), updateExistingListingsList(), and updateExistingListingsWidgets().
Referenced by handleButtonClick(), and handleDismissListingButton().
|
private |
Definition at line 523 of file TradingPost.java.
References clearSellingOverlay(), listingToAdd, OVERVIEW_INTERFACE_ID, player, and toggleSellingOverlayVisibilityAndOpen().
Referenced by confirmToAddListing(), and handleButtonClick().
|
private |
Definition at line 374 of file TradingPost.java.
References getPageListings(), page, searchedListings, and updateBuyingPageWidgets().
Referenced by handleButtonClick().
|
private |
Definition at line 709 of file TradingPost.java.
References addSearchResultsAndUpdateInterface(), addToCoffer(), addToItemHistory(), alertSeller(), allListings, CURRENCY_ID, displayedPageListings, displayMostRecentListings(), com.runehive.game.world.items.ItemDefinition.get(), getListingsByName(), com.runehive.game.world.items.ItemDefinition.getName(), listingToBuy, player, saveListings(), searchedListings, and tradingPostSearch.
Referenced by buyingDialogueOptions().
|
private |
Definition at line 354 of file TradingPost.java.
References addSearchResultsAndUpdateInterface(), displayMostRecentListings(), and tradingPostSearch.
Referenced by handleButtonClick().
|
static |
Definition at line 976 of file TradingPost.java.
References itemHistories.
Referenced by com.runehive.game.world.World.save().
| void com.runehive.content.tradingpost.TradingPost.saveCoffer | ( | final Coffer | coffer | ) |
Definition at line 872 of file TradingPost.java.
References com.runehive.content.tradingpost.Coffer.getOwner(), com.runehive.util.GsonUtils.JSON_PRETTY_ALLOW_NULL, logger, and player.
Referenced by addToCoffer(), getOrMakeNewCofferIfNotExists(), and withdrawFromCoffer().
| void com.runehive.content.tradingpost.TradingPost.saveListings | ( | final String | owner, |
| final List< TradingPostListing > | listings ) |
Definition at line 923 of file TradingPost.java.
References com.runehive.util.GsonUtils.JSON_PRETTY_ALLOW_NULL, logger, and player.
Referenced by confirmToAddListing(), handleDismissListingButton(), and purchase().
|
static |
Definition at line 998 of file TradingPost.java.
References recentlySoldItems.
Referenced by com.runehive.game.world.World.save().
|
private |
Definition at line 256 of file TradingPost.java.
References BUYING_PAGE_INTERFACE_ID, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearchType.ITEM, player, com.runehive.game.world.World.schedule(), and searchExistingListing().
Referenced by handleButtonClick().
|
private |
Definition at line 414 of file TradingPost.java.
References addSearchResultsAndUpdateInterface(), cleanUp(), displayMostRecentListings(), player, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearch.text, and tradingPostSearch.
Referenced by searchExistingItemInput(), and searchPlayerInput().
|
private |
Definition at line 202 of file TradingPost.java.
References acdat, itemHistories, player, recentlySoldItems, and sendItemHistoryData().
Referenced by handleButtonClick().
|
private |
Definition at line 269 of file TradingPost.java.
References BUYING_PAGE_INTERFACE_ID, com.runehive.content.tradingpost.TradingPost.TradingPostActiveListingSearchType.PLAYER, player, com.runehive.game.world.World.schedule(), and searchExistingListing().
Referenced by handleButtonClick().
| void com.runehive.content.tradingpost.TradingPost.selectItemToList | ( | Item | item | ) |
Definition at line 531 of file TradingPost.java.
References com.runehive.game.world.items.Item.getDefinition(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.items.ItemDefinition.getName(), com.runehive.game.world.items.Item.isTradeable(), listingToAdd, player, updatePriceStrings(), and updateQuantityString().
| void com.runehive.content.tradingpost.TradingPost.sendItemHistoryData | ( | List< ItemHistory > | itemHistories | ) |
Definition at line 236 of file TradingPost.java.
References com.runehive.util.Utility.formatDigits(), com.runehive.game.world.items.ItemDefinition.get(), com.runehive.content.tradingpost.ItemHistory.getBuyer(), getItemArrayFromItemHistory(), com.runehive.content.tradingpost.ItemHistory.getItemId(), com.runehive.game.world.items.ItemDefinition.getName(), com.runehive.content.tradingpost.ItemHistory.getPrice(), com.runehive.content.tradingpost.ItemHistory.getSeller(), HISTORY_PAGE_INTERFACE_ID, itemHistories, MAX_LISTINGS_SHOWN, and player.
Referenced by handleButtonClick(), and searchItemHistoryInput().
|
private |
Definition at line 639 of file TradingPost.java.
References player.
Referenced by updateExistingListingsWidgets().
|
private |
Definition at line 282 of file TradingPost.java.
References displayedPageListings, com.runehive.content.tradingpost.TradingPostListing.getAmountLeft(), getPageListings(), com.runehive.content.tradingpost.TradingPostListing.getPrice(), com.runehive.content.tradingpost.TradingPost.TradingPostSortType.HIGHEST_PRICE, com.runehive.content.tradingpost.TradingPost.TradingPostSortType.HIGHEST_QUANTITY, com.runehive.content.tradingpost.TradingPost.TradingPostSortType.LOWEST_PRICE, page, searchedListings, tradingPostSort, and updateBuyingPageWidgets().
Referenced by sortPrice(), and sortQuantity().
|
private |
Definition at line 304 of file TradingPost.java.
References com.runehive.content.tradingpost.TradingPost.TradingPostSortType.HIGHEST_PRICE, com.runehive.content.tradingpost.TradingPost.TradingPostSortType.LOWEST_PRICE, sort(), and tradingPostSort.
Referenced by handleButtonClick().
| void com.runehive.content.tradingpost.TradingPost.sortQuantity | ( | ) |
Definition at line 314 of file TradingPost.java.
References com.runehive.content.tradingpost.TradingPost.TradingPostSortType.HIGHEST_QUANTITY, com.runehive.content.tradingpost.TradingPost.TradingPostSortType.LOWEST_QUANTITY, sort(), and tradingPostSort.
Referenced by handleButtonClick().
| void com.runehive.content.tradingpost.TradingPost.testData | ( | ) |
Definition at line 857 of file TradingPost.java.
References allListings, com.runehive.game.world.items.ItemDefinition.DEFINITIONS, com.runehive.content.tradingpost.TradingPostListing.setInitialQuantity(), and com.runehive.content.tradingpost.TradingPostListing.setPrice().
|
private |
Definition at line 481 of file TradingPost.java.
References player.
Referenced by updateBuyingPageWidgets().
|
private |
Definition at line 491 of file TradingPost.java.
References OVERVIEW_INTERFACE_ID, and player.
Referenced by handleButtonClick(), openOverviewInterface(), and openSellingOverlay().
|
private |
Definition at line 460 of file TradingPost.java.
References displayedPageListings, com.runehive.util.Utility.formatDigits(), com.runehive.game.world.items.ItemDefinition.get(), com.runehive.content.tradingpost.TradingPostListing.getAmountLeft(), getItemArrayFromActiveListings(), com.runehive.content.tradingpost.TradingPostListing.getItemId(), com.runehive.game.world.items.ItemDefinition.getName(), com.runehive.content.tradingpost.TradingPostListing.getPrice(), com.runehive.content.tradingpost.TradingPostListing.getSeller(), MAX_LISTINGS_SHOWN, page, player, and toggleBuyingPageWidgetVisibility().
Referenced by addSearchResultsAndUpdateInterface(), nextPage(), previousPage(), and sort().
| void com.runehive.content.tradingpost.TradingPost.updateCofferAmountWidget | ( | ) |
Definition at line 127 of file TradingPost.java.
References getOrMakeNewCofferIfNotExists(), and player.
Referenced by openOverviewInterface(), and withdrawFromCoffer().
|
private |
Definition at line 593 of file TradingPost.java.
References getListingsByName(), myListings, and player.
Referenced by confirmToAddListing(), and openOverviewInterface().
|
private |
Definition at line 622 of file TradingPost.java.
References com.runehive.content.tradingpost.TradingPostListing.getAmountSold(), com.runehive.content.tradingpost.TradingPostListing.getInitialQuantity(), getItemArrayFromActiveListings(), MAX_LISTING_SIZE, myListings, player, and sendOverviewWidgetVisibility().
Referenced by confirmToAddListing(), and openOverviewInterface().
| void com.runehive.content.tradingpost.TradingPost.updatePriceStrings | ( | ) |
Definition at line 543 of file TradingPost.java.
References com.runehive.util.Utility.formatDigits(), listingToAdd, and player.
Referenced by com.runehive.content.tradingpost.TradingPostListing.checkAndUpdate(), com.runehive.content.tradingpost.TradingPostListing.removeQuantity(), selectItemToList(), and com.runehive.content.tradingpost.TradingPostListing.setPrice().
| void com.runehive.content.tradingpost.TradingPost.updateQuantityString | ( | ) |
Definition at line 549 of file TradingPost.java.
References listingToAdd, and player.
Referenced by com.runehive.content.tradingpost.TradingPostListing.checkAndUpdate(), com.runehive.content.tradingpost.TradingPostListing.removeQuantity(), and selectItemToList().
|
private |
Definition at line 325 of file TradingPost.java.
References CURRENCY_ID, getOrMakeNewCofferIfNotExists(), player, saveCoffer(), and updateCofferAmountWidget().
Referenced by handleButtonClick().
|
private |
Definition at line 45 of file TradingPost.java.
Referenced by searchItemHistoryInput().
|
staticprivate |
Hashmap containing the coffers <PlayerName, Coffer>
Definition at line 55 of file TradingPost.java.
Referenced by getCoffer(), and getOrMakeNewCofferIfNotExists().
|
staticprivate |
A list containing all the trading post listings.
Definition at line 50 of file TradingPost.java.
Referenced by confirmToAddListing(), delist(), getListingsByName(), getSearchResults(), handleBuyingButton(), loadAllListings(), purchase(), and testData().
|
static |
Definition at line 38 of file TradingPost.java.
Referenced by com.runehive.game.world.entity.mob.player.InterfaceManager.close(), displayMostRecentListings(), handleButtonClick(), searchExistingItemInput(), and searchPlayerInput().
|
staticprivate |
Definition at line 42 of file TradingPost.java.
Referenced by buyingDialogueOptions(), purchase(), and withdrawFromCoffer().
|
private |
The displayed listings on the buying page.
Definition at line 90 of file TradingPost.java.
Referenced by cleanUp(), handleBuyingButton(), purchase(), sort(), and updateBuyingPageWidgets().
|
staticprivate |
Definition at line 39 of file TradingPost.java.
Referenced by handleButtonClick(), and sendItemHistoryData().
|
staticprivate |
Contains a list of the last 50 sold of each item.
Definition at line 95 of file TradingPost.java.
Referenced by addToItemHistory(), loadItemHistory(), saveAllItemHistory(), searchItemHistoryInput(), and sendItemHistoryData().
|
private |
The listing that the player will add to their existing listings.
Definition at line 65 of file TradingPost.java.
Referenced by cleanUp(), confirmToAddListing(), editPriceInputPrompt(), editQuantityInputPrompt(), handleSellingOverlayButtons(), openSellingOverlay(), selectItemToList(), updatePriceStrings(), and updateQuantityString().
|
private |
The listing that the player selects in the buying page.
Definition at line 70 of file TradingPost.java.
Referenced by buyingDialogueOptions(), cleanUp(), handleBuyingButton(), and purchase().
|
staticprivate |
Definition at line 35 of file TradingPost.java.
Referenced by getCoffer(), loadAllListings(), saveCoffer(), and saveListings().
|
staticprivate |
Definition at line 41 of file TradingPost.java.
Referenced by getSlotSizeByDonatorRank(), and updateExistingListingsWidgets().
|
staticprivate |
Definition at line 40 of file TradingPost.java.
Referenced by getPageListings(), sendItemHistoryData(), and updateBuyingPageWidgets().
|
private |
List containing the players existing listings/offers.
Definition at line 60 of file TradingPost.java.
Referenced by confirmToAddListing(), delist(), handleDismissListingButton(), updateExistingListingsList(), and updateExistingListingsWidgets().
|
staticprivate |
Definition at line 37 of file TradingPost.java.
Referenced by alertSeller(), handleButtonClick(), openOverviewInterface(), openSellingOverlay(), and toggleSellingOverlayVisibilityAndOpen().
|
private |
The page # of the buying interface.
Definition at line 110 of file TradingPost.java.
Referenced by cleanUp(), getPageListings(), nextPage(), previousPage(), sort(), and updateBuyingPageWidgets().
|
private |
Definition at line 112 of file TradingPost.java.
Referenced by alertSeller(), buyingDialogueOptions(), clearSellingOverlay(), confirmToAddListing(), displayMostRecentListings(), editPriceInputPrompt(), editQuantityInputPrompt(), getPageListings(), getSlotSizeByDonatorRank(), handleButtonClick(), handleBuyingButton(), handleDismissListingButton(), handleSellingOverlayButtons(), nextPage(), openOverviewInterface(), openSellingOverlay(), purchase(), saveCoffer(), saveListings(), searchExistingItemInput(), searchExistingListing(), searchItemHistoryInput(), searchPlayerInput(), selectItemToList(), sendItemHistoryData(), sendOverviewWidgetVisibility(), toggleBuyingPageWidgetVisibility(), toggleSellingOverlayVisibilityAndOpen(), TradingPost(), updateBuyingPageWidgets(), updateCofferAmountWidget(), updateExistingListingsList(), updateExistingListingsWidgets(), updatePriceStrings(), updateQuantityString(), and withdrawFromCoffer().
|
private |
contains last 50 players buying history
Definition at line 105 of file TradingPost.java.
Referenced by addToItemHistory(), getPlayersItemHistory(), and handleButtonClick().
|
staticprivate |
contains the last 50 sold items on the trading post
Definition at line 100 of file TradingPost.java.
Referenced by addToItemHistory(), handleButtonClick(), loadRecentItemHistory(), saveRecentHistory(), and searchItemHistoryInput().
|
private |
The current searched listings.
Definition at line 85 of file TradingPost.java.
Referenced by addSearchResultsAndUpdateInterface(), cleanUp(), nextPage(), previousPage(), purchase(), and sort().
|
staticprivate |
Definition at line 43 of file TradingPost.java.
Referenced by addToCoffer().
|
private |
The current item or player search.
Definition at line 75 of file TradingPost.java.
Referenced by cleanUp(), displayMostRecentListings(), getSearchResults(), purchase(), refresh(), and searchExistingListing().
|
private |
The current sort of the buyable listings.
Definition at line 80 of file TradingPost.java.
Referenced by cleanUp(), sort(), sortPrice(), and sortQuantity().