feat: serve native AVA2 battle pass, drop finder and event calendar

This commit is contained in:
shen
2026-10-18 23:35:29 -07:00
parent 2016f20d58
commit abda2c1cda
15 changed files with 366 additions and 21 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
-- PORT: battle pass tables (docs/FEATURE-BATTLEPASS.md). Idempotent; run once on the player database.
-- Progress: one row per player, season and mission slot; the game adds deltas and MySQL caps them at target.
CREATE TABLE IF NOT EXISTS player.mt_battlepass_progress (
CREATE TABLE IF NOT EXISTS mt_battlepass_progress (
pid INT UNSIGNED NOT NULL,
season INT UNSIGNED NOT NULL,
slot TINYINT UNSIGNED NOT NULL,
@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS player.mt_battlepass_progress (
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- Claims: the primary key is the idempotency guard; only the request whose INSERT IGNORE adds the row pays out.
-- slot 0 is the final reward.
CREATE TABLE IF NOT EXISTS player.mt_battlepass_claim (
CREATE TABLE IF NOT EXISTS mt_battlepass_claim (
pid INT UNSIGNED NOT NULL,
season INT UNSIGNED NOT NULL,
slot TINYINT UNSIGNED NOT NULL,