Struct ModifierRange
Tracks the range of modifiers for a single relationship in the flat modifier array
DETERMINISM GUARANTEE:
- Modifiers for each relationship stored in STABLE order (insertion order preserved)
- Compaction is SEQUENTIAL on main thread (deterministic)
- Parallel Burst job ONLY marks decayed (read-only, no order dependency)
Architecture: allModifiers[startIndex ... startIndex+count-1] = this relationship's modifiers
public struct ModifierRange
Fields
count
Number of active modifiers for this relationship
public int count
Field Value
- int
startIndex
Index in allModifiers where this relationship's modifiers start
public int startIndex
Field Value
- int
Properties
Empty
Empty range (no modifiers)
public static ModifierRange Empty { get; }
Property Value
IsEmpty
Check if this range is empty
public bool IsEmpty { get; }
Property Value
- bool