H7MerchantPopUpCntl¶
Class in MMH7Game · MMH7Game.H7MerchantPopUpCntl · config
Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7ItemSlotMovieCntl › H7MerchantPopUpCntl
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mBuyPriceMultiplicator | float | |
mHeroInfo | H7GFxUIContainer | protected |
mMarket | H7BlackMarket | protected |
mMerchant | H7Merchant | protected |
mMerchantPopUp | H7GFxMerchantPopUp | protected |
mSellPriceMultiplicator | float | |
mTown | H7Town | protected |
Functions¶
| Name | Declaration |
|---|---|
BtnBuyClicked | function BtnBuyClicked(int ItemId) |
BtnSellClicked | function BtnSellClicked(int itemToSellID) |
CanSpend | function bool CanSpend(int ItemId) |
ClosePopup | function ClosePopup() |
EquipItemByDoubleClick | function bool EquipItemByDoubleClick(int ItemId) |
GetBuyPriceMultiplicator | function float GetBuyPriceMultiplicator() |
GetHeroEquip | function H7GFxHeroEquip GetHeroEquip() |
GetInventory | function H7GFxInventory GetInventory() |
GetItemSellPriceByID | function int GetItemSellPriceByID(int ItemId) |
GetMerchant | function H7Merchant GetMerchant() |
GetMerchantPopUp | function H7GFxMerchantPopUp GetMerchantPopUp() |
GetPopup | function H7GFxUIContainer GetPopup() |
GetSellPriceMultiplicator | function float GetSellPriceMultiplicator() |
GetStatModSourceList | function GetStatModSourceList(string statStr, int unrealID) |
Initialize | function bool Initialize() |
ShowHeroItems | function ShowHeroItems(bool garrisonHeroItems) |
Update | function Update(H7Town Town) |
UpdateFromMerchant | function UpdateFromMerchant(H7AdventureHero Hero, H7Merchant merchant) |
UpdateFromSellCommand | function UpdateFromSellCommand() |
Default values¶
mBlockUnreal=true
mLocaSection(0)="H7ItemAndInventory"
mLocaSection(1)="H7ArtifactRecycler"
MovieInfo=SwfMovie'H7SceneAdventureMap.PopUps.H7MerchantPopUp'