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

Guess weapon order for factory downloads (since they have no weapon order) #6

This commit is contained in:
NG (Graham)
2025-05-18 20:33:29 -04:00
parent 49781d35b2
commit fd75dba80e
10 changed files with 164 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ pub trait ConfigProvider<C: Clone> {
fn server_config(&self) -> ServerConfig;
fn garage_upgrades(&self) -> GarageUpgrades;
async fn factory(&self) -> Result<crate::factory::Factory, Box<dyn std::error::Error + 'static>>;
fn cubes(&self) -> &'_ std::collections::HashMap<String, crate::persist::Cube>;
}
pub struct CompleteCampaignProvider {