Skip to content

H7SeqCon_HasHeroWithStat

Class in MMH7Game · MMH7Game.H7SeqCon_HasHeroWithStat · native

Object › SequenceObject › SequenceOp › SequenceCondition › H7SeqCon_Condition › H7SeqCon_TimePassed › H7SeqCon_Player › H7SeqCon_HasHeroWith › H7SeqCon_HasHeroWithStat

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

Properties

NameTypeNotes
mBaseOnlyboolprotected
mCompareOperH7StructsAndEnumsNative.ECompareOpprotected
mStatH7StructsAndEnumsNative.EHeroWithStatprotected
mTargetValueintprotected

Functions

NameDeclaration
GetCurrentStatValuefunction int GetCurrentStatValue(H7AdventureHero Hero)
GetObjClassVersionstatic event int GetObjClassVersion()
IsConditionFulfilledForHeroprotected function bool IsConditionFulfilledForHero(H7AdventureHero currentHero)

Default values

ObjName="Has Hero with Stat"

Inherited

FromMembers
H7SeqCon_HasHeroWithProperties: mHero, mHeroArmy, mUseInteractingHero
Functions: GetObjClassVersion, IsConditionFulfilledForHero, IsConditionFulfilledForPlayer
H7SeqCon_PlayerProperties: mAnyPlayer, mConditionPlayer, mPlayers
Functions: GetObjClassVersion, GetPlayers, HasProgress, IsConditionFulfilled, IsConditionFulfilledForPlayer
H7SeqCon_TimePassedProperties: mCounter, mProgress, mTimeAmount, mUnit, mUseTimer
Functions: GetCurrentProgresses, GetObjClassVersion, GetProgress, HasOutputImpulse, HasProgress, HasTimePassed, InitProgress, UpdateCounter, UpdateDay, UpdateWeek
H7SeqCon_ConditionProperties: mNot, mOldQuestTargets
Functions: Activated, ConditionProgressed, Eval, GetObjClassVersion, GetQuestTargets, HasOutputImpulse, IsConditionFulfilled, UpdateDay, UpdateWeek
SequenceCondition0 properties, 0 functions
SequenceOp26 properties, 18 functions
SequenceObject17 properties, 6 functions
Object13 properties, 308 functions