Skip to main content

StorageSearch

Type Alias StorageSearch 

Source
pub type StorageSearch<'a> = dyn FnMut(&[Storage], &mut Random, usize, i32, i32) -> Option<(usize, [f32; 3])> + 'a;
Expand description

Map state the character and its actions read. Town::FindMaterialStorage for a redirected drop-off: the storages, the game’s Random, the material, the count and the citizen’s cell give a storage and the point to walk to.

Original: FUN_140092a60.