entity\merchants\resourcetrader.lua
(?) | ResourceDepot.buildBuyGui | ( window ) |
(?) | ResourceDepot.buildGui | ( window, guiType ) |
(?) | ResourceDepot.buildSellGui | ( window ) |
(?) | ResourceDepot.buy | ( material, amount ) |
(?) | ResourceDepot.getBuyPriceAndTax | ( material, seller, num ) |
(?) | ResourceDepot.getBuyPriceAndTaxTest | ( material, seller, num ) |
(?) | ResourceDepot.getBuyingFactor | ( material, orderingFaction ) |
(?) | ResourceDepot.getData | ( ) |
(?) | ResourceDepot.getInitialResources | ( ) |
(?) | ResourceDepot.getSellPriceAndTax | ( material, buyer, num ) |
(?) | ResourceDepot.getSellPriceAndTaxTest | ( material, buyer, num ) |
(?) | ResourceDepot.getSellingFactor | ( material, orderingFaction ) |
(?) | ResourceDepot.getUpdateInterval | ( ) |
(?) | ResourceDepot.improveRelations | ( numTraded, ship, buyer ) |
(?) | ResourceDepot.initUI | ( ) |
(?) | ResourceDepot.initialize | ( ) |
(?) | ResourceDepot.interactionPossible | ( playerIndex, option ) |
(?) | ResourceDepot.onBuyButtonPressed | ( button ) |
(?) | ResourceDepot.onBuyTextEntered | ( ) |
(?) | ResourceDepot.onRestoredFromDisk | ( timeSinceLastSimulation ) |
(?) | ResourceDepot.onSellButtonPressed | ( button ) |
(?) | ResourceDepot.onSellTextEntered | ( ) |
(?) | ResourceDepot.onShowWindow | ( optionIndex, material ) |
(?) | ResourceDepot.restore | ( data ) |
(?) | ResourceDepot.retrieveData | ( ) |
(?) | ResourceDepot.secure | ( ) |
(?) | ResourceDepot.sell | ( material, amount ) |
(?) | ResourceDepot.setData | ( material, amount, shortage ) |
(?) | ResourceDepot.setStock | ( value ) |
(?) | ResourceDepot.startShortage | ( ) |
(?) | ResourceDepot.stopShortage | ( ) |
(?) | ResourceDepot.updateLine | ( material, interactingFaction ) |
(?) | ResourceDepot.updateServer | ( timeStep ) |