Skip to content

H7Inscriber

Class in MMH7Game · MMH7Game.H7Inscriber · native, perobjectconfig

Object › H7TownBuilding › H7Inscriber

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

Properties

NameTypeNotes
mCurrentScrollsarray<H7HeroItem>protected
mRefreshOffersH7StructsAndEnumsNative.ETriggerprotected
mScrollPossesarray<IntPoint>protected
mScrollRandValuesarrayprotected
mScrollsarray<H7HeroItem>protected

Functions

NameDeclaration
BuyScrollByIDfunction H7HeroItem BuyScrollByID(int Id)
Deserializefunction Deserialize(JsonObject Data)
GetCurrentlyAvailableScrollsfunction array<H7HeroItem> GetCurrentlyAvailableScrolls()
GetScrollByIDfunction H7HeroItem GetScrollByID(int Id)
GetScrollPosByIndexfunction IntPoint GetScrollPosByIndex(int Index)
InitTownBuildingfunction InitTownBuilding(H7Town Town)
Serializefunction JsonObject Serialize()
SetCurrentScrollsevent SetCurrentScrolls()
TriggerEventsnative function TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container)

Inherited

FromMembers
H7TownBuildingProperties: mAbility, mAbilityManager, mAiBaseUtility, mAlternate, mCosts, mCostsSkirmish, mDesc, mEventManager, mIcon, mIsUnique, mName, mNameInst, mPopup, mPrerequisites, mProduction, mProductionSkirmish, mRequiredLevel, mTown, mTownAsset, mTownAssets, mUpgrade
Functions: ApplyDamage, CostResourceCompareGUI, DataChanged, DelIcon, DelTownAsset, DelTownAssets, Deserialize, GetAbility, GetAbilityManager, GetAlternate, GetAlternateBothways, GetArchetypeDescription, GetBuffManager, GetBuildingBaseUtility, GetCost, GetDesc, GetEffectManager, GetEntityType, GetEventManager, GetFlashIconPath, GetFlashInfoIconPath, GetGridPosition, GetHitPoints, GetID, GetIDString, GetIncome, GetIncomeForResource, GetName, GetPlayer, GetPopup, GetPrerequisiteLevel, GetPrerequisites, GetResistanceModifierFor, GetStackSize, GetTown, GetTownAsset, GetTownAssets, GetUpgrade, HasTownAssetLoaded, HasTownAssetsLoaded, InitTownBuilding, IsArchetype, IsUnique, LocalizeName, OnBeginDay, PostSerialize, Serialize, SetPrerequisiteLevel, SetTown, ShouldDisplayIncome, TriggerEvents
Object13 properties, 308 functions