Skip to main content

AreaAttackSkill.HitInformation

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Where an area attack hit something and which chunk that point is in, kept by AreaAttackSkill for the hit effects it sends.

Constructors​

MemberWhat it is
HitInformation()Creates an AreaAttackSkill.HitInformation from position and chunk.
HitInformation(Vector3 position)Creates an AreaAttackSkill.HitInformation from position and chunk.
HitInformation(Vector3 position, Chunk chunk)Creates an AreaAttackSkill.HitInformation from position and chunk.

Fields​

MemberWhat it is
Chunk chunkChunk of the hit: the health target's chunk, or the best chunk containing the point.
Vector3 positionClosest point on the hit collider to the attack's hit point.

Used in​

Members of other types that take, return or hold a HitInformation: