Map unit: Difference between revisions

imported>Leoetlino
imported>Leoetlino
Line 10: Line 10:


=== <code>Objs</code> ===
=== <code>Objs</code> ===
Array of object structures. '''Must be sorted by HashId''' because the placement subsystem performs binary searches on the object array in various cases<ref>0x7101256E14</ref>.
Array of object structures. '''Must be sorted by HashId'''<ref>Technically, sorting is only required for Dynamic (non-group 0) map units. However, not sorting causes the game to fall back to a slower linear search.</ref> because the placement subsystem performs binary searches on the object array in various cases<ref>0x7101256E14</ref>.


=== <code>Rails</code> ===
=== <code>Rails</code> ===
Anonymous user