Table of Contents

Enum CombatEventKind

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

What a CombatEventBroadcast describes.

public enum CombatEventKind : byte

Fields

Damage = 0

Health was removed. DamageTemplateID names the type.

Heal = 1

Health was restored.

PeriodicDamage = 2

Health was removed by a PERIODIC effect — a damage-over-time tick, not a direct hit. DamageTemplateID still names the type.

A separate kind, not a flag, because the kind is the coalescer's merge key and the prediction pairing's match key. The caster's client predicts DIRECT hits and never predicts DoT ticks (they run server-side on the victim's buff controller) — so a DoT report of the same damage type used to consume the pending prediction of a projectile and leave the DoT undrawn while the projectile drew twice. Distinct kinds keep the two streams apart end to end: they coalesce separately, and PredictedCombatEvents only pairs against Damage/Heal.

PeriodicHeal = 3

Health was restored by a periodic effect — a heal-over-time tick. See PeriodicDamage.