34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# Core Functions
|
|
|
|
|
|
|
|
## Important Payload Limit
|
|
Keep payloads under 20,480 bytes. This is the maximum size the engine can send or receive at one time. If you expect a response larger than 20,480 bytes, provide a callback function so the mod can use its internal fetch/chunking flow and deliver the reconstructed data to your callback.
|
|
|
|
This section contains documentation for the core functions of ArmaDragonflyClient that handle initialization, process management, and scheduling.
|
|
|
|
## Available Functions
|
|
|
|
- [addTask](addTask.md) - Add a task to the scheduler
|
|
- [handler](handler.md) - Handle callbacks from the extension
|
|
- [init](init.md) - Initialize the database system
|
|
- [printAddonName](printAddonName.md) - Print the addon name
|
|
- [processQueue](processQueue.md) - Process queued database operations
|
|
- [scheduler](scheduler.md) - Schedule database operations
|
|
- [test](test.md) - Test the database connection
|
|
|
|
## Example Usage
|
|
|
|
```sqf
|
|
// Initialize the database
|
|
[] call dragonfly_db_fnc_init;
|
|
|
|
// Test the database connection
|
|
[] call dragonfly_db_fnc_test;
|
|
```
|
|
|
|
## Related Categories
|
|
|
|
- [Basic Data Operations](../basic/README.md)
|
|
- [Hash Operations](../hash/README.md)
|
|
- [List Operations](../list/README.md) |