Core: Updated to 11.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/df1ec76d54db3a91759fc93f4d6b6828d4ec0f59)
This commit is contained in:
@@ -195,6 +195,16 @@ namespace Game.Entities
|
||||
|
||||
public int GetSize() { return _values.Length; }
|
||||
|
||||
public T First(Func<T, bool> predicate)
|
||||
{
|
||||
return _values.First(predicate);
|
||||
}
|
||||
|
||||
public int IndexOf(T value)
|
||||
{
|
||||
return Array.IndexOf(_values, value);
|
||||
}
|
||||
|
||||
public IEnumerator<T> GetEnumerator()
|
||||
{
|
||||
foreach (var obj in _values)
|
||||
|
||||
Reference in New Issue
Block a user