You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add deep clone and refactor 3D UI interactions
Introduce a deep clone utility and refactor interaction UI and related infra.
- Add Lib47.DeepClone (imports/table/server/table.lua).
- Namespace control keys into Lib47.Keys (data/controlkeys.lua).
- Bump fxmanifest version to 1.2.0 and include data/*.lua in client scripts (fxmanifest.lua).
- Add sound flag to default notify integration (integration/client/notify.lua).
- Large refactor of 3D text interaction system (interface/client/3dtext.lua):
- Separate GlobalInteractions and ActiveInteractions and add a slow culling loop to reduce active items outside a culling distance.
- Add pause handling, improved off-screen handling and cleanup on resource stop.
- Filter visible options, evaluate canInteract, and map key names from Lib47.Keys for NUI display.
- Replace generic callback usage with option.action and run actions asynchronously after bumps/presses.
- Adjusted public API: ShowTextUi3d signature changed to (data, static), RegisterTextUi3d updated accordingly.
- Various safety fixes for hold/press handling and NUI messaging.
- Use method (colon) calls in progress wrapper demo (interface/client/progress.lua).
- Web asset filename updated (web/assets/index-*.js) and index.html updated accordingly.
These changes improve performance by culling distant interactions, centralize utilities, and modernize input/option handling for the 3D UI.