API Referenceveextensionscore
Quick Access
Proxy for the vehicle's quick access radial menu. Collects and serves menu items from other extensions and exposes them to the GE UI layer.
Proxy for the vehicle's quick access radial menu. Collects and serves menu items from other extensions and exposes them to the GE UI layer for display in the radial quick-access menu overlay.
Public API
| Function | Signature | Description |
|---|---|---|
requestItems | (level) → boolean | Returns available menu items for the given depth level. Called by GE to populate the radial menu. |
addEntry | (args) | Registers a new menu entry from vehicle Lua. Other extensions call this to add items to the quick access menu. |
Hooks
| Hook | Description |
|---|---|
onExtensionLoaded | Initializes the menu item registry and subscribes to item providers. |
Usage Example
-- Add a custom quick access entry from another extension
extensions.core_quickAccess.addEntry({
title = "Toggle Lights",
onSelect = function() electrics.toggle("lights") end,
icon = "lightbulb"
})See Also
- Gameplay Interface — External command bridge
Booster
Applies an instantaneous force boost to the vehicle. Used for rocket boosters, nitrous visual effects, and scenario-triggered speed boosts.
Advanced External Debug
Tools for external visualization and deep system debugging. Streams internal vehicle data to external debug viewers for detailed inspection.