Skip to content

H7RunicBox

Class in MMH7Game · MMH7Game.H7RunicBox · native, perobjectconfig

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7RunicBox

Implements: H7IPickable, H7ITooltipable, H7IHideable

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

Properties

NameTypeNotes
mActualCreatureStacksarray<H7BaseCreatureStack>protected
mArmySetuparray<H7BattleSiteArmySetupData>protected
mArmyTypeH7StructsAndEnumsNative.ENoneRandomCustomprotected
mArtifactRewardsarray<H7ArtifactReward>protected
mCreateAmbushboolprotected
mCreatureRewardsarray<H7CreatureReward>protected
mDefenderArmyH7AdventureArmyprotected
mDisableQuickCombatboolprotected
mEditorArmyH7AdventureArmyprotected
mEditRandomDatabooltransient, editconst, private
mExperienceRewardsarray<H7ExperienceReward>protected
mIsHiddenboolprotected
mLootedboolprotected
mManaRewardsarray<H7ManaReward>protected
mOnPickUpSoundAkEventprotected
mRandomDataRandomLordDefenseDataprotected
mResourceRewardsarray<H7ResourceReward>protected
mRewardAmountintprotected
mRolledArtifactRewardsarray<H7ArtifactReward>protected
mRolledCreatureRewardsarray<H7CreatureReward>protected
mRolledExperienceRewardsarray<H7ExperienceReward>protected
mRolledManaRewardsarray<H7ManaReward>protected
mRolledResourceRewardsarray<H7ResourceReward>protected
mRolledStacksarray<H7BaseCreatureStack>protected
mRolledStatRewardsarray<H7AttributeReward>protected
mStatRewardsarray<H7AttributeReward>protected
mTempVisitingHeroH7AdventureHeroprotected
mWarUnitSetuparray<H7EditorWarUnit>protected

Functions

NameDeclaration
ActualVisitfunction ActualVisit()
ActualVisitAbortedfunction ActualVisitAborted()
BestowRewardsfunction BestowRewards(H7AdventureHero Hero)
CreateDefenderAdventureArmyfunction CreateDefenderAdventureArmy()
DestroySecurefunction DestroySecure()
GetAttributeRewardfunction array<H7AttributeReward> GetAttributeReward()
GetCreatureRewardfunction array<H7CreatureReward> GetCreatureReward()
GetExperienceRewardfunction array<H7ExperienceReward> GetExperienceReward()
GetFlashMinimapPathfunction string GetFlashMinimapPath()
GetItemRewardfunction array<H7ArtifactReward> GetItemReward()
GetManaRewardfunction array<H7ManaReward> GetManaReward()
GetResourceRewardfunction array<H7ResourceReward> GetResourceReward()
GetTooltipDatafunction H7TooltipData GetTooltipData(optional bool extendedVersion)
GUIWriteIntofunction GUIWriteInto(GFxObject Data, optional H7StructsAndEnums.H7ListenFocus Focus, optional H7GFxUIContainer flashFactory)
Hidefunction Hide()
InitAdventureObjectevent InitAdventureObject()
IsHiddenXnative function bool IsHiddenX()
IsLootedfunction bool IsLooted()
OnMergeCompletedfunction OnMergeCompleted(bool Success)
OnVisitfunction OnVisit(out H7AdventureHero Hero)
Pickupfunction Pickup(H7AdventureHero lootingHero, optional H7StructsAndEnums.ELootType lootType = 2, optional bool doMultiplayerSynchro = false)
PostSerializeevent PostSerialize()
RestoreStacksfunction RestoreStacks()
Revealfunction Reveal()
RollRewardsfunction RollRewards()
UpdateFloatingnative function UpdateFloating(float DeltaTime)

Default values

mOnPickUpSound=AkEvent'H7SFX_Pickup.pickup_artifact'
mRandomData=(mUseThis=false,mMinStackNumber=3,mMaxStackNumber=7,mAllowedFactions=none,mFactionType=ERandomSiteFaction.E_H7_RSF_AS_ANOTHER_TOWN,mReferenceLord=none,mUseFactionOfLord=true,mUseCreatureLevel=true,mAllowedLevels=(Allowed=true),mAllowedLevels[1]=(Allowed=true),mAllowedLevels[2]=(Allowe...
mIsUnblockingEntrance=false
mMinimapIcon=Texture2D'H7TextureGUI.icon_Minimap_Artifacts'

Inherited

FromMembers
H7VisitableSiteProperties: mAbilityManager, mAdventureController, mAiBaseUtility, mAiOnIgnore, mBuffFlags, mBuffManager, mCliffMat, mClusterRef, mCustomNameInst, mEffectManager, mEntranceCell, mEntranceOffset, mEntranceSprite, mEventManager, mGlobalName, mHeroEventParam, mInitDone, mInitNameDone, mIsUnblockingEntrance, mLandscape, mLayer, mMinimapColor, mMinimapHidden, mMinimapIcon, mName, mQuestFlag, mReachabilityCheckDone, mSavedLocation, mSavedRotation, mUseCustomName, mVisitingArmy
Functions: AdaptToLandscape, AddBuffFlag, AddQuestFlag, AddSelfToMinimap, ApplyDamage, ClearQuestFlag, DataChanged, Destroyed, GetAbilityManager, GetActionID, GetAiBaseUtility, GetAiOnIgnore, GetAttack, GetBuffFlags, GetBuffManager, GetColor, GetCombatArmy, GetCurrentPosition, GetCustomName, GetEffectManager, GetEntityType, GetEntranceCell, GetEntranceOffset, GetEventManager, GetFlashMinimapPath, GetGridPosition, GetHasMinimap, GetHeightAsVector, GetHitPoints, GetID, GetLocation, GetLuckDestiny, GetMagic, GetMaximumDamage, GetMinimapColor, GetMinimapHidden, GetMinimapIcon, GetMinimumDamage, GetName, GetOriginal, GetPlayer, GetPreparedAbility, GetResistanceModifierFor, GetSchool, GetStackSize, GetVisitingArmy, GetVisitString, GetWorldEntranceNative, GUIAddListener, GUIWriteInto, InitAdventureObject, IsDefaultAttackActive, IsHidden, IsMovable, IsNeutral, IsUnblockingEntrance, LocalizeCustomName, NotifyVisit, OnTerrainChange, OnVisit, OverrideName, PostSerialize, PrepareAbility, ReorderBuffFlags, SetAiOnIgnore, SetAiUtilityValue, SetMinimapColor, SetMinimapHidden, SetName, SetVisitingArmy, SpendPickupCostsOnVisit, TriggerEvents, UnregisterEventManageable, UsePreparedAbility
H7AdventureObjectProperties: frameCount, mFloatRotationIntensity, mFloatSwayIntensity, Mid, mIsFloating, mOriginalLocation, mPassabilityType
Functions: AddQuestFlag, ClearQuestFlag, GetCellsUnderMe, GetCurrentPosition, GetName, GetQuestTargetID, InitAdventureObject, IsFloating, IsHidden, IsMovable, OnDoubleClick, OnLeftClick, OnRightClick, OnVisit, PostBeginPlay, ReferenceSelfToCells, SetFloating, UpdateFloating
H7EditorMapObjectProperties: AnimNodeSeqComp, mDynamicLightEnv, mFX, mHideMeshAndFX, mMesh, mShouldOutlineSkelMesh, mSnapToGroundType, mSnapType, mTerrainOffset
Functions: GetFX, GetMesh, GetMeshComp, SetMesh, SetShouldHideMeshAndFX, SetVisibility, ToggleVisibility
SkeletalMeshActorMAT1 properties, 13 functions
SkeletalMeshCinematicActor0 properties, 0 functions
SkeletalMeshActor15 properties, 28 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions