1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Refactor rc_microtransactions to use actix-web, remove rocket dependency

This commit is contained in:
NG (Graham)
2026-01-01 10:37:56 -05:00
parent 2293edec9d
commit ae091a7666
11 changed files with 160 additions and 572 deletions

View File

@@ -36,9 +36,9 @@ impl <C: Send + 'static> SimpleOperation<C> for PlatformConfigProvider {
val_ty: TypePrefix::Any, // obj
items: vec![
(Typed::Str("BuyPremiumAvailable".into()), Typed::Bool(false)),
(Typed::Str("MainShopButtonAvailable".into()), Typed::Bool(false)),
(Typed::Str("MainShopButtonAvailable".into()), Typed::Bool(true)),
(Typed::Str("RoboPassButtonAvailable".into()), Typed::Bool(false)),
(Typed::Str("LanguageSelectionAvailable".into()), Typed::Bool(false)),
(Typed::Str("LanguageSelectionAvailable".into()), Typed::Bool(true)),
(Typed::Str("AutoJoinPublicChatRoom".into()), Typed::Str(client_selected_channel.into())),
(Typed::Str("CanCreateChatRooms".into()), Typed::Bool(self.chat_config.can_create_channels)),
(Typed::Str("CurseVoiceEnabled".into()), Typed::Bool(false)),