dragonfly/docs/core/README.md
2026-01-13 20:19:07 -06:00

1.2 KiB

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 - Add a task to the scheduler
  • handler - Handle callbacks from the extension
  • init - Initialize the database system
  • printAddonName - Print the addon name
  • processQueue - Process queued database operations
  • scheduler - Schedule database operations
  • test - Test the database connection

Example Usage

// Initialize the database
[] call dragonfly_db_fnc_init;

// Test the database connection
[] call dragonfly_db_fnc_test;