forge/arma/client/docs/README.md
Jacob Schmidt 89169f1e84 Update documentation and add new client usage guides
- Revised README.md for the Forge Client Example Addon to clarify its purpose as a template.
- Enhanced MODULE_REFERENCE.md to categorize guides into Server and Extension guides and Client guides.
- Created detailed usage guides for various client addons including Actor, Bank, CAD, Garage, Locker, Notifications, Organization, Phone, and Store.
- Added a Client Common Usage Guide to outline shared browser UI bridge patterns.
- Introduced a Client Main Usage Guide to define the foundational elements for client addons.
- Established authoritative state notes and usage rules across new guides to ensure clarity on server ownership and client responsibilities.
2026-04-18 13:04:01 -05:00

2.3 KiB

Forge Client Documentation

This folder documents the Arma client mod. The client side is responsible for displaying UI, handling player input, caching client-visible state, and sending CBA events to server addons.

Authoritative gameplay state lives on the server side or in the Rust extension. Client repositories should be treated as view state, not durable storage.

Architecture

  • Each addon declares its own UI resources and CBA extended event handlers.
  • XEH_preStart.sqf/XEH_preInit.sqf compile functions.
  • XEH_postInitClient.sqf initializes client repositories, UI bridges, and response event handlers.
  • Browser UIs send JSON events through A3API.
  • SQF handlers translate browser events into local actions or server RPCs.
  • Server responses update repositories and push browser events back into the UI.

Addon Docs