Click or drag to resize

AbstractViewsHolderShiftIntWithOverflowCheck Method

Internal utility for adding a shift to value and keeping it within range [0, modulo), and also preventing integer overflow

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected int ShiftIntWithOverflowCheck(
	int value,
	int shift,
	int modulo
)

Parameters

value
Type: SystemInt32
shift
Type: SystemInt32
modulo
Type: SystemInt32

Return Value

Type: Int32
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also