Vixen
caa30e12
csharp
public readonly record struct EffectEvent

One thing that happened to one effect.

Read the guide page for this →

Remarks

The kernel reports, it does not act. What a periodic tick does — damage, a heal, a resource drain — is the combat library's, because it needs a damage pipeline the kernel must not contain. So a tick is an event in a list the caller passed in, and the caller decides.

Fields and properties (5)

  • public EffectEventKind Kind

    What happened.

  • public EffectHandle Handle

    Which instance, or None for a refusal.

  • public DefId Definition

    Which effect.

  • public int Stacks

    How many stacks it had when this happened.

  • public ulong Instigator

    Whoever applied it, as the caller numbered them.

Methods (1)

Used by (3)

  • EffectSetVixen.Gameplay
  • EffectSetTestsVixen.Gameplay.Tests
  • GameplaySubjectVixen.Gameplay