feat: Add COX MySQL tools and resources for event references and function lookups

- Implemented DatabaseQueries resource for FiveM database query examples.
- Created GetCOXEventReference tool to retrieve information about COX MySQL events.
- Developed GetCOXFunction tool to look up COX MySQL functions and methods.
- Added views for displaying event lists, event references, and function details.
- Included comprehensive CRUD operation examples for database interactions in FiveM.
- Established tests for GetCOXEventReference and GetCOXFunction tools to ensure functionality.
This commit is contained in:
Adrian Mejias committed 2026-03-01 01:20:59 -06:00
1 parent 18765b1013
commit a2591c2209
12 files changed
+1484 -477

No files matched your search

@@ -0,0 +1,29 @@
# COX Event Reference
## {{ $event['name'] }}
**Type:** {{ $event['type'] }}
### Description
{{ $event['description'] }}
### Parameters
@if(count($event['parameters']) > 0)
@foreach($event['parameters'] as $param)
- **{{ $param['name'] }}** ({{ $param['type'] }}): {{ $param['description'] }}
@endforeach
@else
This event takes no parameters.
@endif
### Code Examples
**Lua:**
```lua
{{ $event['lua_example'] }}
```
**JavaScript:**
```javascript
{{ $event['js_example'] }}
```