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

Complete factory rating support

This commit is contained in:
NG (Graham)
2026-01-04 16:43:36 -05:00
parent 50eb3f471e
commit 3015572170
6 changed files with 106 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ mod steam_promo;
mod campaign_save_result;
mod item_shop_purchase;
mod code_redeem;
mod crf_rate_vehicle;
use polariton_server::operations::OperationsHandler;
@@ -222,7 +223,7 @@ pub fn handler(init_ctx: &crate::InitConfig) -> OperationsHandler<crate::UserTy>
.add(garage_slot_name::garage_slot_rename_provider())
.add(garage_slot_copy::garage_slot_copy_provider())
.add(polariton_server::operations::Ack::<12, _>::default()) // TODO handle UpdatePlayerDailyQuestProgressRequest instead of ignoring it
.add(polariton_server::operations::Ack::<90, _>::default()) // TODO handle SubmitCRFRatingRequest instead of ignoring it
.add(crf_rate_vehicle::crf_rating_provider(&init_ctx.factory))
//.add(polariton_server::operations::Ack::<97, _>::default()) // TODO handle UpdateShopRobotOffsetRequest instead of ignoring it (this seems to break newly-uploaded vehicles for now)
.add(steam_promo::steam_promos_provider())
.add(item_shop_purchase::item_purchase_provider(&init_ctx.cubes))