pub struct PathFinderMapSettings {Show 33 fields
pub cache_accept_path_end_distance_ratio: f64,
pub cache_accept_path_start_distance_ratio: f64,
pub cache_max_connect_to_cache_steps_multiplier: u32,
pub cache_path_end_distance_rating_multiplier: f64,
pub cache_path_start_distance_rating_multiplier: f64,
pub direct_distance_to_consider_short_request: u32,
pub enemy_with_different_destination_collision_penalty: f64,
pub extended_collision_penalty: f64,
pub fwd2bwd_ratio: u32,
pub general_entity_collision_penalty: f64,
pub general_entity_subsequent_collision_penalty: f64,
pub goal_pressure_ratio: f64,
pub ignore_moving_enemy_collision_distance: f64,
pub long_cache_min_cacheable_distance: f64,
pub long_cache_size: u32,
pub max_clients_to_accept_any_new_request: u32,
pub max_clients_to_accept_short_new_request: u32,
pub max_steps_worked_per_tick: f64,
pub max_work_done_per_tick: u32,
pub min_steps_to_check_path_find_termination: u32,
pub negative_cache_accept_path_end_distance_ratio: f64,
pub negative_cache_accept_path_start_distance_ratio: f64,
pub negative_path_cache_delay_interval: u32,
pub overload_levels: &'static [u32],
pub overload_multipliers: &'static [f64],
pub short_cache_min_algo_steps_to_cache: u32,
pub short_cache_min_cacheable_distance: f64,
pub short_cache_size: u32,
pub short_request_max_steps: u32,
pub short_request_ratio: f64,
pub stale_enemy_with_same_destination_collision_penalty: f64,
pub start_to_goal_cost_multiplier_to_terminate_path_find: f64,
pub use_path_cache: bool,
}Fields§
§cache_accept_path_end_distance_ratio: f64§cache_accept_path_start_distance_ratio: f64§cache_max_connect_to_cache_steps_multiplier: u32§cache_path_end_distance_rating_multiplier: f64§cache_path_start_distance_rating_multiplier: f64§direct_distance_to_consider_short_request: u32§enemy_with_different_destination_collision_penalty: f64§extended_collision_penalty: f64§fwd2bwd_ratio: u32§general_entity_collision_penalty: f64§general_entity_subsequent_collision_penalty: f64§goal_pressure_ratio: f64§ignore_moving_enemy_collision_distance: f64§long_cache_min_cacheable_distance: f64§long_cache_size: u32§max_clients_to_accept_any_new_request: u32§max_clients_to_accept_short_new_request: u32§max_steps_worked_per_tick: f64§max_work_done_per_tick: u32§min_steps_to_check_path_find_termination: u32§negative_cache_accept_path_end_distance_ratio: f64§negative_cache_accept_path_start_distance_ratio: f64§negative_path_cache_delay_interval: u32§overload_levels: &'static [u32]§overload_multipliers: &'static [f64]§short_cache_min_algo_steps_to_cache: u32§short_cache_min_cacheable_distance: f64§short_cache_size: u32§short_request_max_steps: u32§short_request_ratio: f64§stale_enemy_with_same_destination_collision_penalty: f64§start_to_goal_cost_multiplier_to_terminate_path_find: f64§use_path_cache: boolTrait Implementations§
Source§impl Clone for PathFinderMapSettings
impl Clone for PathFinderMapSettings
Source§fn clone(&self) -> PathFinderMapSettings
fn clone(&self) -> PathFinderMapSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PathFinderMapSettings
Source§impl Debug for PathFinderMapSettings
impl Debug for PathFinderMapSettings
Source§impl Default for PathFinderMapSettings
impl Default for PathFinderMapSettings
Source§fn default() -> PathFinderMapSettings
fn default() -> PathFinderMapSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for PathFinderMapSettings
impl PartialEq for PathFinderMapSettings
impl StructuralPartialEq for PathFinderMapSettings
Auto Trait Implementations§
impl Freeze for PathFinderMapSettings
impl RefUnwindSafe for PathFinderMapSettings
impl Send for PathFinderMapSettings
impl Sync for PathFinderMapSettings
impl Unpin for PathFinderMapSettings
impl UnsafeUnpin for PathFinderMapSettings
impl UnwindSafe for PathFinderMapSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more