Skip to content

H7UnitCoverManager

Class in MMH7Game · MMH7Game.H7UnitCoverManager · native

Object › H7UnitCoverManager

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

Properties

NameTypeNotes
mCellLastUpdateH7CombatMapCellprotected
mCoverCellsarray<H7CombatMapCell>protected
mCoverLinesarray<Vector>protected
mLinesOriginVectorprotected
mOwnerH7CreatureStackprotected

Functions

NameDeclaration
GetCoverCellsfunction array<H7CombatMapCell> GetCoverCells(optional H7CombatMapCell ownerCell)
GetCoverLinesfunction array<Vector> GetCoverLines()
GetLinesOriginfunction Vector GetLinesOrigin()
GetOwnerfunction H7CreatureStack GetOwner()
GetRDiffprotected event float GetRDiff(Rotator A, Rotator B)
HasClearShotfunction bool HasClearShot(array<H7CombatMapCell> attackerCells, optional array<H7CombatMapCell> coveredCells, optional H7CombatMapCell defenderCell)
Initfunction Init(H7CreatureStack Owner)
isInCoverfunction bool isInCover(array<H7CombatMapCell> attackerCells, optional array<H7CombatMapCell> coveredCells, optional H7CombatMapCell defenderCell)
UpdateCoverCellsprotected native function UpdateCoverCells(H7CombatMapCell ownerCell)
UpdatedLinesOriginprotected native function UpdatedLinesOrigin(array<H7CombatMapCell> Cells)

Inherited

FromMembers
Object13 properties, 308 functions