Class CharacterBuffService.BuffSetRows
Every row of a batch of buff sets, flattened into the column arrays the replace statement binds.
public sealed class CharacterBuffService.BuffSetRows
- Inheritance
-
CharacterBuffService.BuffSetRows
- Inherited Members
Remarks
Owners names every character whose set is being replaced, including those whose set is empty: an owner with no rows is how "this character has no buffs" reaches the database, and it is the case the old upsert could not express at all.
Fields
CharacterIds
Per row: the owning character.
public long[] CharacterIds
Field Value
- long[]
Owners
Every character whose stored set is replaced. Distinct.
public long[] Owners
Field Value
- long[]
RemainingTimes
Per row: seconds of duration left.
public double[] RemainingTimes
Field Value
- double[]
Stacks
Per row: stacks.
public int[] Stacks
Field Value
- int[]
TemplateIds
Per row: the buff template.
public int[] TemplateIds
Field Value
- int[]
TickCounts
Per row: ticks fired so far.
public int[] TickCounts
Field Value
- int[]
TickTimes
Per row: seconds until the next tick.
public double[] TickTimes
Field Value
- double[]
Versions
Per row: the version stamped on it, which is its character's snapshot version.
public long[] Versions
Field Value
- long[]
Properties
RowCount
Number of buff rows (not owners).
public int RowCount { get; }