pub struct ComprehensiveLootEditor {
pub extended_editor: ExtendedLootEditor,
pub item_catalog: Vec<Item>,
pub drop_rate_analyzer: DropRateAnalyzer,
pub loot_table_generator: LootTableGenerator,
pub item_score_cache: ItemScoreCache,
pub progression_systems: HashMap<u32, ItemProgression>,
pub all_tables: Vec<LootTable>,
pub report_history: Vec<DropRateAnalysisReport>,
pub session_stats: SessionStats,
}Fields§
§extended_editor: ExtendedLootEditor§item_catalog: Vec<Item>§drop_rate_analyzer: DropRateAnalyzer§loot_table_generator: LootTableGenerator§item_score_cache: ItemScoreCache§progression_systems: HashMap<u32, ItemProgression>§all_tables: Vec<LootTable>§report_history: Vec<DropRateAnalysisReport>§session_stats: SessionStatsImplementations§
Source§impl ComprehensiveLootEditor
impl ComprehensiveLootEditor
pub fn new() -> Self
pub fn full_simulation(&mut self, runs: u32)
Source§impl ComprehensiveLootEditor
impl ComprehensiveLootEditor
pub fn generate_all_zone_tables(&mut self, _count: u32)
pub fn generate_all_boss_tables(&mut self, _count: u32)
pub fn run_full_analysis(&mut self, _runs: u32)
pub fn export_all_tables_json(&self) -> String
Auto Trait Implementations§
impl Freeze for ComprehensiveLootEditor
impl RefUnwindSafe for ComprehensiveLootEditor
impl Send for ComprehensiveLootEditor
impl Sync for ComprehensiveLootEditor
impl Unpin for ComprehensiveLootEditor
impl UnsafeUnpin for ComprehensiveLootEditor
impl UnwindSafe for ComprehensiveLootEditor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.