6 Commits

Author SHA1 Message Date
Jacob Schmidt
6d51f2e333 fix: Update documentation for consistency and accuracy
This commit enhances the documentation by ensuring consistency in function references and correcting inaccuracies. Key changes include:

*   Updated function names and references throughout the documentation.
*   Corrected internal links to point to the appropriate markdown files.
*   Removed outdated references to improve clarity and relevance.
2025-03-22 20:05:28 -05:00
Jacob Schmidt
136cc50336 docs: Correct internal links in core documentation
This commit corrects internal links within the core documentation files. The links were updated to point to the correct markdown files.

Key changes:

*   Updated links in `docs/core/processQueue.md`, `docs/core/addTask.md`, `docs/core/test.md`, `docs/core/scheduler.md`, `docs/core/handler.md`, `docs/core/printAddonName.md`, and `docs/core/init.md`.
2025-03-22 19:58:34 -05:00
Jacob Schmidt
8c0e8144e5 docs: Update documentation links and function references
This commit updates the documentation to reflect the current function names and link structure. Specifically, it addresses the following:

*   Corrected internal links within the documentation to point to the correct markdown files (e.g., `hashDelete.md` instead of `hashDelete`).
*   Updated related function references to reflect the current function names and include missing functions.
*   Removed outdated function references.
*   Added `ramdb_db_fnc_scheduler` to related functions where appropriate.
*   Updated the links section to use the correct markdown file names.
2025-03-22 16:53:30 -05:00
Jacob Schmidt
5b9f3402b6 docs: add comprehensive documentation and usage examples for ramdb
All checks were successful
Build / Build (push) Successful in 30s
2025-03-22 16:31:59 -05:00
5a4cc64bde Update docs/README.md 2025-03-22 15:14:55 -05:00
Jacob Schmidt
3bb2bec8d9 feat: Added list deletion functionality and improved parameter handling
All checks were successful
Build / Build (push) Successful in 30s
This commit introduces the ability to delete lists within the ArmaRAMDb extension.  It also refactors the parameter handling in several sqf functions to improve consistency and remove unnecessary data structures.

Specifically, the following changes were made:

*   **Extension (C#):**
    *   Added `ListDeleteAsync` to `ListStore.cs` to handle list deletion.
    *   Added a "listdel" case to `Main.cs` to call the new `HandleListDelOperation` function.
    *   Created `HandleListDelOperation` to call `ListStore.ListDeleteAsync`.
    *   Removed unused parameters from `HandleHDelOperation`.
*   **SQF Functions:**
    *   Updated `fnc_hashSetIdBulk.sqf`, `fnc_hashSetBulk.sqf`, `fnc_hashSetId.sqf`, `fnc_listSet.sqf`, `fnc_hashSet.sqf`, `fnc_listAdd.sqf`, and `fnc_set.sqf` to use a simpler parameter structure.  Specifically, the `_data` parameter is now expected to be a simple array instead of an array containing a default value.
*   **XEH_PREP.hpp:**
    *   Added a few new functions to register.
*   **Examples:**
    *   Updated examples in `fnc_hashSetIdBulk.sqf` and `fnc_hashSetBulk.sqf` to reflect the parameter changes.

This change enhances the functionality of ArmaRAMDb by providing a mechanism to remove lists and improves the overall code quality and consistency.
2025-03-22 12:55:09 -05:00