PreferenceGetNextIndex
Callable
Parameters
List: readonly unknown[]
The preference list
Index: number
The current preference index for the given list
Returns number
- The index of the next item in the array, or 0 if the array is currently at the last item
Returns the index of the next preference list item (and wraps back to the start of the list if currently at the end)