MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / default_from_engine

Method default_from_engine

src/config/character_volume.rs:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14impl CharacterVolumeConfig {
15 pub(crate) fn default_from_engine() -> Self {
16 CharacterVolumeConfig {
17 volumes: ENGINE_CONFIG
18 .character_full_name_list()
19 .iter()
20 .map(|name| (name.to_string(), 100.0_f32))
21 .collect(),
22 }
23 }
24
25 pub(crate) fn fill_missing(&mut self) {
26 for name in ENGINE_CONFIG.character_full_name_list() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected