Skip to content

H7InstantCommandBase

Class in MMH7Game · MMH7Game.H7InstantCommandBase

Object › H7InstantCommandBase

Subclasses: H7InstantCommandAcceptMerge, H7InstantCommandBeginTurn, H7InstantCommandBuildAll, H7InstantCommandBuildBuilding, H7InstantCommandBuildCaravanOutpost, H7InstantCommandBuildShip, H7InstantCommandBuyArtifactBlackMarket, H7InstantCommandBuyArtifactMerchant, H7InstantCommandBuyScroll, H7InstantCommandCheatSetNextWeek, H7InstantCommandCheatStatChange, H7InstantCommandCheatTeleport, H7InstantCommandCheatWinLose, H7InstantCommandConfirmReinforcement, H7InstantCommandCreateEmptyGarrison, H7InstantCommandCreateNewCaravan, H7InstantCommandDestroyCaravanOutpost, H7InstantCommandDestroyTownBuildings, H7InstantCommandDismissCreatureStack, H7InstantCommandDismissHero, H7InstantCommandDoCombat, H7InstantCommandDoubleArmy, H7InstantCommandEndturn, H7InstantCommandEnterLeaveShelter, H7InstantCommandFinishCombat, H7InstantCommandFinishOngoingStartCombat, H7InstantCommandFleeOrSurrender, H7InstantCommandGenerateNewRandomSkillBatch, H7InstantCommandHeroAddXp, H7InstantCommandIncreaseHeroStat, H7InstantCommandIncreaseResource, H7InstantCommandIncreaseSkill, H7InstantCommandInventoryAction, H7InstantCommandInvokeRandomSkillPopup, H7InstantCommandJoinArmy, H7InstantCommandLearnAbility, H7InstantCommandLearnSpell, H7InstantCommandLetEnemyFlee, H7InstantCommandMergeArmiesAdventure, H7InstantCommandMergeArmiesAI, H7InstantCommandMergeArmiesLord, H7InstantCommandOverwriteSkill, H7InstantCommandPlunder, H7InstantCommandRandomItemSIte, H7InstantCommandRebuildFort, H7InstantCommandRecruit, H7InstantCommandRecruitDirect, H7InstantCommandRecruitHero, H7InstantCommandRecruitWarfare, H7InstantCommandRecycleArtifact, H7InstantCommandResetReinforcement, H7InstantCommandSabotage, H7InstantCommandSacrifice, H7InstantCommandSaveGame, H7InstantCommandSelectSpecialisation, H7InstantCommandSellArtifact, H7InstantCommandSetAutoCombat, H7InstantCommandSetGovernor, H7InstantCommandSplitCreatureStack, H7InstantCommandStartCaravan, H7InstantCommandStartDestructionOrReparation, H7InstantCommandSynchUp, H7InstantCommandTeleportToTown, H7InstantCommandThievesGuildPlunder, H7InstantCommandTranferStackFromMergePool, H7InstantCommandTransferHero, H7InstantCommandTransferResource, H7InstantCommandTransferWarUnit, H7InstantCommandUnifyStacks, H7InstantCommandUnloadCaravan, H7InstantCommandUnloadCaravans, H7InstantCommandUpgradeDwelling, H7InstantCommandUpgradeUnit, H7InstantCommandUseFertilityIdol

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

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
InitFromMPDatafunction InitFromMPData(MPInstantCommand mpData)
WaitForInterceptingCommandsfunction bool WaitForInterceptingCommands()

Inherited

FromMembers
Object13 properties, 308 functions