Jacob Schmidt 06c634c642 Move extension storage to SurrealDB schema modules
- Split storage repositories into per-domain modules
- Add SurrealDB schema definitions and route handlers
- Update phone docs for new persistent table layout
2026-04-16 19:55:05 -05:00

20 lines
876 B
Markdown

forge_server_phone
===================
This addon provides the phone user interface and functionality for the in-game phone system. It handles all phone-related features including the UI display, interactions, and core phone operations.
Server State
------------
Phone contacts, messages, and emails are owned by the server extension. SQF phone stores act as bridge objects for CBA events and UI sync only.
Persistent SurrealDB tables:
- `phone_user`: owner row for an initialized phone profile.
- `phone_contact`: per-owner contact rows keyed by owner UID and contact UID.
- `phone_message`: shared message records.
- `phone_message_index`: per-owner message visibility and read state.
- `phone_email`: shared email records.
- `phone_email_index`: per-owner email visibility and read state.
- `phone_sequence`: global sequence state for generated message and email IDs.