Skip to content

H7TradeResultCntl

Class in MMH7Game · MMH7Game.H7TradeResultCntl · config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7FlashMovieBlockPopupCntl › H7TradeResultCntl

Using it from Lua
h7.find_all("H7TradeResultCntl")            -- live instances
h7.find_class("MMH7Game.H7TradeResultCntl")   -- the class
h7.hook("MMH7Game.H7TradeResultCntl.AddReceivedCreature", fn)

Properties

NameTypeNotes
mCurrentTradeDataH7AlliedTradeDataprotected
mFoundboolprotected
mFoundIndexintprotected
mTradeDataarray<H7AlliedTradeData>protected
mTradeResultPopupH7GFxTradeResultprotected

Functions

NameDeclaration
AddReceivedCreaturefunction AddReceivedCreature(H7StackCount StackCount, H7AdventureHero receivingHero, H7AdventureHero givingHero)
AddReceivedItemfunction AddReceivedItem(int ItemId, H7AdventureHero receivingHero, H7AdventureHero givingHero)
AddReceivedWarfareUnitfunction AddReceivedWarfareUnit(H7EditorWarUnit warfareUnit, H7AdventureHero receivingHero, H7AdventureHero givingHero)
CheckAndRemoveEmptyTradeDatafunction CheckAndRemoveEmptyTradeData()
ClearTradeListfunction ClearTradeList()
Closedfunction Closed()
GetPopupfunction H7GFxUIContainer GetPopup()
GetTradeDataByReceivingPlayerfunction H7AlliedTradeData GetTradeDataByReceivingPlayer(H7Player Player)
GetTradeResultPopupfunction H7GFxTradeResult GetTradeResultPopup()
Initializefunction bool Initialize()
PlayerReceivedItemsCreautesfunction bool PlayerReceivedItemsCreautes()
RemoveReceivedCreaturefunction RemoveReceivedCreature(H7StackCount StackCount, H7AdventureHero receivingHero, H7AdventureHero givingHero)
RemoveReceivedItemfunction RemoveReceivedItem(int ItemId, H7AdventureHero receivingHero, H7AdventureHero givingHero)
resetLogicfunction resetLogic()
setTradeEntryfunction setTradeEntry(H7AdventureHero receivingHero, H7AdventureHero givingHero)
Updatefunction Update()

Default values

mLocaSection(0)="H7TradeResult"
MovieInfo=SwfMovie'H7SceneAdventureMap.PopUps.H7TradeResult'

Inherited

FromMembers
H7FlashMovieBlockPopupCntlFunctions: ClosePopup, Initialize, OpenPopup
H7FlashMoviePopupCntlProperties: mAllowedStandardCommands, mBlockFlash, mBlockStandardKeys, mBlockUnreal, mFullscreen, mHideSidebar, mKeybindCategory, mOpenedThisFrame, mWindowSpecificKeybinds
Functions: CanOpenPopup, Closed, ClosePopup, CreatePopupKeybind, GetPopup, Initialize, InitWindowKeyBinds, IsAllowingCommandFunction, IsBlockingFlash, IsBlockingStandardKeys, IsBlockingUnreal, IsFullscreen, IsHidingSidebar, KeybindUsedByPopup, OpenPopup, PutPopupIntoQueue, QueueFinished, ResetOpenedThisFrame, WasOpenedThisFrame, WriteUserKeysInto
H7FlashMovieCntlProperties: mContainer, mFlashController, mFlashHeight, mFlashWidth, mIsDragginUnit, mIsShowingBlocklayer, mLocaSection, mPlayerController, mRootMC, mWasCanceled, mWasInitialized
Functions: AdvanceDebug, AnyKeyPressed, AnyKeyReleased, CanBeStopped, CaptureMouseWheel, ClosePopup, DisableMouse, EnableMouse, FlashLocalize, FlashPixels2UnrealPixels, GetAssetPath, GetAttributeIconStrings, GetContainer, GetFlashController, GetFlashPath, GetFlashSize, GetGUIColor, GetHUD, GetMagicTierSymbol, GetRadioButtonSymbolPath, GetRoot, GetSettingBool, GetSettingEnum, GetSettingNumber, HighlightClicked, Initialize, IsDraggingUnit, IsMovieSkippedLastFrame, IsRemoveWhenClicked, IsRightClickThisFrame, IsRightMouseDown, IsShiftDown, Log, MouseOut, MouseOver, OpenHeropediaWithCreature, OpenHeropediaWithHero, PlayGUISound, RequestBlockBelow, RequestFocus, RequestRealFocus, RequestUnBlockBelow, SetConstraints, SetInitialized, SetPlayerOwner, SetWasCanceled, Start, StartAdvance, StopAdvance, StopAdvanceReally, StopInput, Unreal, UnrealColorToFlashColor, UnrealColorToHex, UnrealColorToHTMLColor, UnrealPixels2FlashPixels, WaiveFocus, WaiveRealFocus, WasInitialized
GFxMoviePlayer47 properties, 76 functions
Object13 properties, 308 functions