csharp
public readonly record struct EffectEventOne thing that happened to one effect.
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 KindWhat happened.
public EffectHandle HandleWhich instance, or None for a refusal.
public DefId DefinitionWhich effect.
public int StacksHow many stacks it had when this happened.
public ulong InstigatorWhoever applied it, as the caller numbered them.
Methods (1)
public EffectEvent(EffectEventKind Kind, EffectHandle Handle, DefId Definition, int Stacks, ulong Instigator)One thing that happened to one effect.
Used by (3)
- EffectSetVixen.Gameplay
- EffectSetTestsVixen.Gameplay.Tests
- GameplaySubjectVixen.Gameplay