mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
11 lines
353 B
Rust
11 lines
353 B
Rust
|
|
use polariton::operation::Typed;
|
||
|
|
|
||
|
|
pub trait ConfigProvider<C> {
|
||
|
|
fn cube_list(&self) -> Typed<C>;
|
||
|
|
fn movement_list(&self) -> Typed<C>;
|
||
|
|
fn weapon_list(&self) -> Typed<C>;
|
||
|
|
fn weapon_upgrade_list(&self) -> Typed<C>;
|
||
|
|
fn tech_tree_nodes(&self, unlocked_cubes: &std::collections::HashSet<u32>) -> Typed<C>;
|
||
|
|
fn ids(&self) -> Vec<u32>;
|
||
|
|
}
|