Skip to content

H7CampaignTransitionManager

Class in MMH7Game · MMH7Game.H7CampaignTransitionManager

Object › H7CampaignTransitionManager

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

Structs

H7InventoryItem

FieldType
ItemArchRefstring
InventoryPosIntPoint
Defaults
ItemArchRef=""
InventoryPos=(X=0,Y=0)

H7TransistionMap

FieldType
Sealedbool
MapFilenamestring
TransitionHerosarray<H7TransitionHero>
Defaults
Sealed=false
MapFilename=""
TransitionHeros=none

H7TransitionHero

FieldType
HeroArchRefstring
Levelint
SkillPointsint
XPint
MIGHTint
Defenceint
Magicint
Spiritint
leadershipint
destinyint
minDamageint
maxDamageint
MaxManaBounsint
Movementint
ArcaneKnowledgeBaseint
Inventoryarray<H7InventoryItem>
HelmetArchRefstring
WeaponArchRefstring
ChestArmorArchRefstring
GlovesArchRefstring
ShoesArchRefstring
NecklaceArchRefstring
Ring1ArchRefstring
CapeArchRefstring
SkillRefsarray<H7SkillProxy>
AbilityRefsarray
AbilityArchsarray<H7HeroAbility>
SpellArchRefsarray
SpellArchsarray<H7BaseAbility>
Defaults
HeroArchRef=""
Level=0
SkillPoints=0
XP=0
MIGHT=0
Defence=0
Magic=0
Spirit=0
leadership=0
destiny=0
minDamage=0
maxDamage=0
MaxManaBouns=0
Movement=0
ArcaneKnowledgeBase=0
Inventory=none
HelmetArchRef=""
WeaponArchRef=""
ChestArmorArchRef=""
GlovesArchRef=""
ShoesArchRef=""
NecklaceArchRef=""
Ring1ArchRef=""
CapeArchRef=""
SkillRefs=none
AbilityRefs=none
AbilityArchs=none
SpellArchRefs=none
SpellArchs=none

Properties

NameTypeNotes
mCampaignTransDataarray<H7TransistionMap>protected
mFinalHeroChoiceintprotected
mFortressCampaignChoiceintprotected

Functions

NameDeclaration
FindLatestStoredHerofunction H7TransitionHero FindLatestStoredHero(H7AdventureHero Hero, bool CurrentMap)
GatherRelevantHerosfunction GatherRelevantHeros(out array<H7AdventureHero> foundHeros)
GetFinalHeroChoicefunction int GetFinalHeroChoice()
GetFortressCampaignChoicefunction int GetFortressCampaignChoice()
GetHeroArchRefIndexfunction int GetHeroArchRefIndex(H7TransistionMap mapProxy, string HeroArchRef)
GetTransitionMapIndexfunction int GetTransitionMapIndex(string MapFilename)
HasTransitionMapfunction bool HasTransitionMap(string MapFilename)
LoadStoredHerofunction LoadStoredHero(H7AdventureHero Hero)
LoadTransitionHerofunction LoadTransitionHero(H7AdventureHero Hero, H7TransitionHero heroData)
LoadTransitionMapfunction LoadTransitionMap(string MapFilename)
SaveTransitionHerofunction H7TransitionHero SaveTransitionHero(H7AdventureHero Hero)
SaveTransitionMapfunction SaveTransitionMap(string MapFilename)
SetFinalHeroChoicefunction SetFinalHeroChoice(int NewValue)
SetFortressCampaignChoicefunction SetFortressCampaignChoice(int NewValue)
StoreHerofunction StoreHero(H7AdventureHero Hero)

Default values

mFinalHeroChoice=-1

Inherited

FromMembers
Object13 properties, 308 functions