GetHeroesList
Retrieves a list of all hero entities.
CAUTION
Do not modify the returned array. It is a reference to the internal array.
WARNING
This array will also contain any copies and illusions of heroes (Monkey King's ult, Naga Siren's illusions, and other entities). If you need only original heroes, don't forget to add checks with IsMeepoClone() and IsIllusion() functions
IMPORTANT
If a hero has never been seen once during the game, he will not be in this array.
GetHeroesList()Hero[]
Returned:
- Hero[] - An array of all hero entities.