supabase integration instead firebase

This commit is contained in:
2025-12-21 20:50:44 +01:00
parent 50c869536d
commit 494f906435
6 changed files with 221 additions and 85 deletions

View File

@ -0,0 +1,14 @@
#pragma once
#include <string>
#include <vector>
#include "../persistence/Scores.h"
namespace supabase {
// Submit a highscore asynchronously (detached thread)
void SubmitHighscoreAsync(const ScoreEntry &entry);
// Fetch highscores for a game type. If gameType is empty, fetch all (limited).
std::vector<ScoreEntry> FetchHighscores(const std::string &gameType, int limit);
} // namespace supabase