HaloMap.Meta.Meta.FindItemsByOffset C# (CSharp) Method

FindItemsByOffset() public method

The find items by offset.
public FindItemsByOffset ( int offset ) : int
offset int The offset.
return int
        public int FindItemsByOffset(int offset)
        {
            for (int x = 0; x < this.items.Count; x++)
            {
                Item i = this.items[x];
                if (i.offset == offset)
                {
                    return x;
                }
            }

            return -1;
        }