Files
fivem-mcp/resources/views/mcp/cox-event-reference.blade.php
T
Adrian Mejias a2591c2209 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.
2026-03-01 01:20:59 -06:00

30 lines
484 B
PHP

# 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'] }}
```