TM::GameCtnChallenge::get_Blocks Method
No description.
Syntax
array<TM::GameCtnBlock@>@ TM::GameCtnChallenge::get_Blocks()
Return value
array<TM::GameCtnBlock@>@
A reference to the array of all blocks on the map.
Remarks
Gets the block array of all blocks on the map.
TrackMania maps are unstructured - there are no guarantees on the order of blocks in the returned array. You should avoid iterating this array frequently, as any sufficiently complex map may contain thousands of blocks. It is best to extract relevant information once when the race starts, and cache it for later use.