Skip to content

H7SeqCon_Player

Class in MMH7Game · MMH7Game.H7SeqCon_Player · abstract, native

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

Subclasses: H7SeqCon_CanReachHero, H7SeqCon_CheckArmyStrength, H7SeqCon_CollectedSouls, H7SeqCon_DaysPassedWithNoTown, H7SeqCon_DefeatAmountOfArmies, H7SeqCon_GatherResources, H7SeqCon_GovernorOfTown, H7SeqCon_HasBuilding, H7SeqCon_HasBuiltTearOfAsha, H7SeqCon_HasCollectedArmies, H7SeqCon_HasHeroWith, H7SeqCon_HasHeroWithItem, H7SeqCon_HasNoEnemyPlayer, H7SeqCon_HasNoHero, H7SeqCon_HasNoTown, H7SeqCon_HasPlunderedMines, H7SeqCon_HasResourcePercentage, H7SeqCon_HasTownLevel, H7SeqCon_HasVisitedSite, H7SeqCon_HasVisitedTownBuilding, H7SeqCon_HeroDefeated, H7SeqCon_HoldCreatures, H7SeqCon_HoldCreaturesByTier, H7SeqCon_LostCreatures, H7SeqCon_OwnSite, H7SeqCon_PlayerIsFromFaction, H7SeqCon_ReachLvl, H7SeqCon_SitesVisited, H7SeqCon_TimeUp

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

Properties

NameTypeNotes
mAnyPlayerboolprotected
mConditionPlayerH7StructsAndEnumsNative.EPlayerNumberprotected
mPlayersarray<H7Player>private

Functions

NameDeclaration
GetObjClassVersionstatic event int GetObjClassVersion()
GetPlayersprotected function array<H7Player> GetPlayers()
HasProgressfunction bool HasProgress()
IsConditionFulfilledprotected function bool IsConditionFulfilled()
IsConditionFulfilledForPlayerprotected function bool IsConditionFulfilledForPlayer(H7Player Player)

Default values

mConditionPlayer=EPlayerNumber.PN_PLAYER_1
ObjCategory="H7Conditions_Player"

Inherited

FromMembers
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