Cockatrice/libcockatrice_network/libcockatrice
Lukas Brübach e04a405c3c [Server] Serve card-art rules and params through the database interface
The four card-art commands still prepared their statements inline through
Servatrice_DatabaseInterface: the two card_art_params updates in
cmdSetCardArtParams, the rule upsert and delete, and the rule listing that
mapped rows to protocol entries. Add CardArtRuleRecord, upsertCardArtRule,
removeCardArtRule, getCardArtRules, setCardArtParams and clearCardArtParams to
Server_DatabaseInterface with fail-closed defaults, implement them with the
previous statements, and keep the validation, clamping, in-memory userInfo sync
and broadcast in the handler.
2026-11-10 01:42:43 +01:00
..
network [Server] Serve card-art rules and params through the database interface 2026-11-10 01:42:43 +01:00