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
Properties¶
| Name | Type | Notes |
|---|---|---|
mAnyPlayer | bool | protected |
mConditionPlayer | H7StructsAndEnumsNative.EPlayerNumber | protected |
mPlayers | array<H7Player> | private |
Functions¶
| Name | Declaration |
|---|---|
GetObjClassVersion | static event int GetObjClassVersion() |
GetPlayers | protected function array<H7Player> GetPlayers() |
HasProgress | function bool HasProgress() |
IsConditionFulfilled | protected function bool IsConditionFulfilled() |
IsConditionFulfilledForPlayer | protected function bool IsConditionFulfilledForPlayer(H7Player Player) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| H7SeqCon_TimePassed | Properties: mCounter, mProgress, mTimeAmount, mUnit, mUseTimer Functions: GetCurrentProgresses, GetObjClassVersion, GetProgress, HasOutputImpulse, HasProgress, HasTimePassed, InitProgress, UpdateCounter, UpdateDay, UpdateWeek |
| H7SeqCon_Condition | Properties: mNot, mOldQuestTargets Functions: Activated, ConditionProgressed, Eval, GetObjClassVersion, GetQuestTargets, HasOutputImpulse, IsConditionFulfilled, UpdateDay, UpdateWeek |
| SequenceCondition | 0 properties, 0 functions |
| SequenceOp | 26 properties, 18 functions |
| SequenceObject | 17 properties, 6 functions |
| Object | 13 properties, 308 functions |