A GameDataCache implementation that uses hashing and a circular buffer.
The maximum number of elements the cache can hold.
Adds the specified data to the cache.
Removes all elements from the cache and releases their resources.
Returns the element at the specified index in the cache.
Returns the index of the last occurrence of the specified data in the cache, or -1 if the cache does not contain the element.
Removes the element at the specified index from the cache. Elements with indices greater than index are shifted down by one.