mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
13 lines
398 B
Rust
13 lines
398 B
Rust
use polariton_server::operations::Immediate;
|
|
use oj_rc_core::ConfigProvider;
|
|
|
|
const PARAM_KEY: u8 = 38;
|
|
|
|
pub(super) fn weapons_upgrade_provider(cubes: &oj_rc_core::ConfigImpl) -> Immediate<82, crate::UserTy> {
|
|
Immediate::new(|| {
|
|
let mut params = std::collections::HashMap::with_capacity(2);
|
|
params.insert(PARAM_KEY, cubes.weapon_upgrade_list());
|
|
params.into()
|
|
})
|
|
}
|