H7HeroWindowCntl¶
Class in MMH7Game · MMH7Game.H7HeroWindowCntl · config
Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7ItemSlotMovieCntl › H7HeroWindowCntl
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mArmyRow | H7GFxArmyRow | protected |
mCreatureIndexToDismiss | int | protected |
mCurrentArmy | H7AdventureArmy | protected |
mHeroIDToDismiss | int | protected |
mHeroInfo | H7GFxUIContainer | protected |
mHeroWindow | H7GFxHeroWindow | protected |
mWarfareUnitRow | H7GFxWarfareUnitRow | protected |
Functions¶
| Name | Declaration |
|---|---|
AddUnitIconToCursor | function AddUnitIconToCursor(int slotID) |
btnDismissHeroClicked | function btnDismissHeroClicked(int heroId) |
Closed | function Closed() |
ClosePopup | function ClosePopup() |
CompleteTransfer | function CompleteTransfer(bool Success, int ToIndex) |
DismissConfirm | function DismissConfirm() |
DismissDenied | function DismissDenied() |
dismissHero | function dismissHero() |
DismissStack | function DismissStack(int unitIndex, optional int armyIndex) |
DropItemInInventory | function DropItemInInventory(int X, int Y) |
EquipItem | function bool EquipItem() |
GetHeroWindow | function H7GFxHeroWindow GetHeroWindow() |
GetPopup | function H7GFxUIContainer GetPopup() |
GetStatModSourceList | function GetStatModSourceList(string statStr, int unrealID) |
HeroClick | function HeroClick(int Id) |
Initialize | function bool Initialize() |
MergeItemsInInventory | function MergeItemsInInventory(int itemIDinDropSlot, int dragSlotX, int dragSlotY, int dropSlotX, int dropSlotY) |
RemoveUnitFromCursor | function RemoveUnitFromCursor() |
RequestTransfer | function RequestTransfer(int fromArmy, int fromIndex, int toArmy, int ToIndex, optional int splitAmount) |
UnequipItem | function UnequipItem(int dropSlotX, int dropSlotY) |
Update | function Update(int heroId) |
Default values¶
mBlockUnreal=true
mFullscreen=true
mHideSidebar=true
mBlockStandardKeys=true
mAllowedStandardCommands(0)="OpenQuestLog"
mAllowedStandardCommands(1)="OpenSpellBook"
mAllowedStandardCommands(2)="OpenHeroWindow"
mAllowedStandardCommands(3)="OpenSkillWheel"
mLocaSection(0)="H7ItemAndInventory"
mLocaSection(1)="H7HeroWindow"
MovieInfo=SwfMovie'H7SceneAdventureMap.Windows.H7HeroWindow'