Make rest of client platform flags configurage; fix speedometer confusing Americans

This commit is contained in:
NG (Graham) committed 2026-04-14 22:05:32 -04:00
1 parent e09aeceed3
commit 1d55e534c1
7 files changed
+72 -9

No files matched your search

+11
View File
@@ -16,6 +16,7 @@ pub trait ConfigProvider<C: Clone> {
fn campaign_details(&self) -> super::CompleteCampaignProvider;
fn campaigns(&self) -> super::CampaignResolver;
fn client_config(&self) -> Typed<C>;
fn platform(&self) -> PlatformConfig;
fn login_messages(&self) -> DevMessageProvider<C>;
fn public_channels(&self) -> Typed<C>;
fn server_config(&self) -> ServerConfig;
@@ -561,3 +562,13 @@ pub struct TeamChoosers {
pub pit: crate::persist::TeamChooser,
pub team_deathmatch: crate::persist::TeamChooser,
}
pub struct PlatformConfig {
pub enable_buy_premium: bool,
pub enable_shop: bool,
pub enable_robopass: bool,
pub enable_select_language: bool,
pub enable_voice: bool,
pub enable_analytics: bool,
pub enable_standard_units: bool,
}