VariableListMath.FindRowById method
The data index whose rowId equals id, searched outward from guess (clamped into the list) up to radius rows each way, nearest first. −1 when not found — the row is gone (front-trimmed) or moved further than the radius. Bounded: at most 2·radius+1 rowId calls, so a remap event never costs a full scan of the list.
public static int FindRowById(Func<int, long> rowId, long id, int count, int guess, int radius)See Also
Section titled “See Also”- class VariableListMath
- namespace Stellar.Abstractions.Services