CombatEvent.BuffChanged constructor
A buff on an entity was applied, refreshed, or removed by a LIVE delta. Buffs already present when the entity appeared arrive once, together, in EntityBuffsSeeded — see BuffChangeKind for how their later deltas are reported.
public BuffChanged(long TimestampMs, EntityId TargetId, int BuffUuid, int BaseId, BuffChangeKind Kind, int Stacks, int Layer, int DurationMs, EntityId FirerId = default, int SourceKind = 0, int SourceId = 0)| parameter | description |
|---|---|
| TimestampMs | Server epoch timestamp of the event in milliseconds. |
| TargetId | Entity whose buff state changed. |
| BuffUuid | Per-instance unique id for this buff application. |
| BaseId | Game-table base buff id (used for lookup in IGameDataCombat.GetBuff). |
| Kind | Whether the buff was applied, refreshed, or removed. |
| Stacks | Current stack count after the change. |
| Layer | Buff layer index. |
| DurationMs | Remaining duration in milliseconds; 0 when removed. |
| FirerId | Entity that applied the buff (wire FireUuid); None when the wire carried none. |
| SourceKind | Origin domain (EFightSource: 0 Skill, 1 Buff, 6 Talent, 9 Mod, 10 Equip); 0 when absent. |
| SourceId | Config id in SourceKind’s domain (the skill id for kind 0); 0 when absent. |
See Also
Section titled “See Also”- struct EntityId
- enum BuffChangeKind
- record BuffChanged
- namespace Stellar.Abstractions.Domain