lib\tradingmanager.lua
| (?) | PublicNamespace.CreateNamespace | ( ) |
| (?) | PublicNamespace.CreateTabbedWindow | ( caption ) |
| (?) | TradingManager:buildBuyGui | ( window ) |
| (?) | TradingManager:buildGui | ( window, guiType ) |
| (?) | TradingManager:buildSellGui | ( window ) |
| (?) | TradingManager:buyFromShip | ( shipIndex, goodName, amount, noDockCheck ) |
| (?) | TradingManager:buyGoods | ( good, amount, otherFactionIndex, monetaryTransactionOnly ) |
| (?) | TradingManager:decreaseGoods | ( name, amount ) |
| (?) | TradingManager:generateGoods | ( min, max ) |
| (?) | TradingManager:getBoughtGoodByName | ( name ) |
| (?) | TradingManager:getBoughtGoods | ( ) |
| (?) | TradingManager:getBuyGoodsErrorMessage | ( code ) |
| (?) | TradingManager:getBuyPrice | ( goodName, sellingFactionIndex ) |
| (?) | TradingManager:getBuysFromOthers | ( ) |
| (?) | TradingManager:getFactionPaymentFactor | ( ) |
| (?) | TradingManager:getGoodByName | ( name ) |
| (?) | TradingManager:getGoodSize | ( name ) |
| (?) | TradingManager:getInitialGoods | ( boughtGoodsIn, soldGoodsIn ) |
| (?) | TradingManager:getMaxGoods | ( name ) |
| (?) | TradingManager:getMaxStock | ( goodSize ) |
| (?) | TradingManager:getNumGoods | ( name ) |
| (?) | TradingManager:getSellGoodsErrorMessage | ( code ) |
| (?) | TradingManager:getSellPrice | ( goodName, buyingFaction ) |
| (?) | TradingManager:getSellsToOthers | ( ) |
| (?) | TradingManager:getSoldGoodByName | ( name ) |
| (?) | TradingManager:getSoldGoods | ( ) |
| (?) | TradingManager:getStock | ( name ) |
| (?) | TradingManager:getTax | ( ) |
| (?) | TradingManager:increaseGoods | ( name, delta ) |
| (?) | TradingManager:initializeTrading | ( boughtGoodsIn, soldGoodsIn, policiesIn ) |
| (?) | TradingManager:isBoughtBySelf | ( good ) |
| (?) | TradingManager:isSoldBySelf | ( good ) |
| (?) | TradingManager:onBuyButtonPressed | ( button ) |
| (?) | TradingManager:onBuyTextEntered | ( textBox ) |
| (?) | TradingManager:onSellButtonPressed | ( button ) |
| (?) | TradingManager:onSellTextEntered | ( textBox ) |
| (?) | TradingManager:receiveGoods | ( buyFactor, sellFactor, boughtGoods_in, soldGoods_in, policies_in ) |
| (?) | TradingManager:refreshUI | ( ) |
| (?) | TradingManager:reportError | ( msg ) |
| (?) | TradingManager:requestGoods | ( ) |
| (?) | TradingManager:restoreTradingGoods | ( data ) |
| (?) | TradingManager:secureTradingGoods | ( ) |
| (?) | TradingManager:sellGoods | ( good, amount, otherFactionIndex, monetaryTransactionOnly ) |
| (?) | TradingManager:sellToShip | ( shipIndex, goodName, amount, noDockCheck ) |
| (?) | TradingManager:sendError | ( faction, msg, ... ) |
| (?) | TradingManager:sendGoods | ( playerIndex ) |
| (?) | TradingManager:setBuyPriceFactor | ( value ) |
| (?) | TradingManager:setBuysFromOthers | ( value ) |
| (?) | TradingManager:setSellPriceFactor | ( value ) |
| (?) | TradingManager:setSellsToOthers | ( value ) |
| (?) | TradingManager:simulatePassedTime | ( timeSinceLastSimulation ) |
| (?) | TradingManager:transferMoney | ( owner, from, to, price, fromDescription, toDescription ) |
| (?) | TradingManager:updateBoughtGoodAmount | ( index ) |
| (?) | TradingManager:updateBoughtGoodGui | ( index, good, price ) |
| (?) | TradingManager:updateDeliveryBulletins | ( timeStep ) |
| (?) | TradingManager:updateOrganizeGoodsBulletins | ( timeStep ) |
| (?) | TradingManager:updateSoldGoodAmount | ( index ) |
| (?) | TradingManager:updateSoldGoodGui | ( index, good, price ) |
| (?) | TradingManager:useUpBoughtGoods | ( timeStep ) |