Jacob Schmidt 3bb2bec8d9
All checks were successful
Build / Build (push) Successful in 30s
feat: Added list deletion functionality and improved parameter handling
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
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2025-03-21 13:04:47 -05:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00
2024-11-10 14:33:22 -06:00

latest-release open-issues build-status

Welcome to ArmaRAMDb.

Experience next-level persistence in Arma 3 with our mod powered by C# .NET 8. This ultra-fast in-memory data store offers unparalleled performance and scalability for your Arma 3 gameplay data management needs.

If something is broken, contact J. Schmidt92 or open a new issue on Gitea.


For more information, read the Docs.

For Roadmap, visit the project page. (WIP)

Contributors

  • Creedcoder for his contributions, help, input and time
Description
ArmaRAMDb an in-memory persistent database using client's RAM
Readme 90 MiB
2025-05-03 19:34:51 -05:00
Languages
TeX 35.9%
HTML 30.9%
JavaScript 10.7%
C++ 7.6%
C# 5%
Other 9.9%