Skip to main content

Module targeting

Module targeting 

Source
Expand description

Resolved combat targeting vocabulary independent of encounter serialization.

Modulesยง

overlay ๐Ÿ”’
Link-time registration for content-authored target-program replacements.
plan ๐Ÿ”’
Compilation of DBC TargetA/TargetB into an ordered, compositional target program.
support ๐Ÿ”’
Runtime targeting algebra and lowering from canonical DBC target semantics.

Structsยง

CandidateFilter
Eligibility filter applied before target-shape geometry.
ExecutableLocation
An executable location assignment, already lowered independently by semantic axis.
ExecutableSelection
An executable actor selection, assembled from independently lowered components.
ExecutableTargetOperations
Executable TargetA/TargetB operations in authored order.
ExecutableTargetPlan
Fully lowered target program consumed unchanged by combat and Forge conformance.
ExplicitTargets
Validated explicit target identities in deterministic first-occurrence order.
TargetEffectCoordinate
Spell-effect coordinate shared by targeting overlays.
TargetGeometryOverlay
Spell-specific metric data that is absent from spell-effect selectors.
TargetOverlayMetadata
Stable overlay identity and rationale.
TargetPlan
Ordered target program plus the effect-kind fallback Trinity applies when it selects nothing.
TargetPlanError
Failure to compile canonical data or find one unambiguous content overlay.
TargetPlanGap
One precise unsupported axis in a compiled program.
TargetPlanInput
Spell-effect coordinate and its DBC inputs.
TargetPlanOperations
TargetA/TargetB operations in authored order without allocation.
TargetPlanOverlay
Declarative replacement for DBC targeting that cannot encode a spellโ€™s real behavior.
TargetSelector
One selector with TrinityCoreโ€™s five axes kept independent.
TargetShapeError
Invalid resolved target-shape construction.

Enumsยง

ChainTargetOrigin
Spatial source used to choose every additional target after a chainโ€™s explicit first hit.
ExecutableCandidateDomain
Runtime candidate universe produced by object and relationship composition.
ExecutableLocationAlgorithm
Runtime-supported algorithm for assigning a positional source or destination.
ExecutableTargetAlgorithm
Runtime-supported spatial selection algorithm.
ExecutableTargetDirection
Runtime-supported positional direction component.
ExecutableTargetFallback
Runtime behavior when an effect has no implicit target operations.
ExecutableTargetOperation
One executable target-program operation.
ExecutableTargetReference
Runtime-supported origin for a location or actor selection.
ResolvedTargetShape
Target shape after DBC/manifest semantics have been resolved.
SingleTargetSelector
Shared deterministic single-target selectors.
TargetPlanAxis
The independent selector axis responsible for a support gap.
TargetPlanOperation
Ordered operation emitted by one implicit-target selector.
TargetPlanProvenance
Origin of the final program used by both runtime behavior and Forge conformance.
TargetShapeErrorKind ๐Ÿ”’

Functionsยง

compile_dbc_target_plan
Translate TargetA/TargetB into operations without deciding which axes the runtime supports.
compile_target_plan
Compile DBC selectors, applying the unique content overlay registered for this effect.
deduplicate_explicit_targets ๐Ÿ”’
lower_target_plan
Lower every semantic axis independently into the runtime target algebra.
registered_target_geometry_overlay
Find the unique geometry overlay for a spell effect.
registered_target_plan_overlay
Find the unique content overlay for a spell effect.
target_plan_is_multi_target
Whether the canonical program emits a spatially multi-target actor selection.
validate_explicit_targets ๐Ÿ”’
validate_selector ๐Ÿ”’