aers / FFXIVClientStructs

Resources for reverse-engineering the FFXIV client's native classes.
MIT License
221 stars 157 forks source link

Add layout prefetch functions to LayoutWorld #936

Closed Haselnussbomber closed 3 months ago

Haselnussbomber commented 3 months ago

Adds a function to prefetch a layout and another one to cancel it.

LayoutWorld.PrefetchLayout is called with type 1 and LayerEntryType 71 (PrefetchRange) when near a zone barrier, or with type 2 and LayerEntryType 40 (PopRange) when starting to cast Teleport.

Haselnussbomber commented 3 months ago

Oh right, I changed the function name last minute. Now I’m in bed already. Will fix it when I wake up again. 😴