forge/arma/client/docs/README.md
2026-05-23 09:23:12 -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