Gen7ScriptsRs/pkmn_lib_interface/src/app_interface/dynamic_data/mod.rs

47 lines
899 B
Rust
Executable File

mod battle;
mod battle_party;
mod battle_random;
mod battle_side;
mod choice_queue;
mod dynamic_library;
mod executing_move;
mod learned_move;
mod misc_library;
mod party;
mod pokemon;
mod statistic_set;
mod turn_choices;
mod with_volatile;
pub use battle::*;
pub use battle_party::*;
pub use battle_random::*;
pub use battle_side::*;
pub use choice_queue::*;
pub use dynamic_library::*;
pub use executing_move::*;
pub use learned_move::*;
pub use misc_library::*;
pub use party::*;
pub use pokemon::*;
pub use statistic_set::*;
pub use turn_choices::*;
pub use with_volatile::*;
#[derive(Default, Copy, Clone)]
pub struct EventBatchId {
id: uuid::Uuid,
}
impl EventBatchId {
pub fn as_u64_pair(&self) -> (u64, u64) {
self.id.as_u64_pair()
}
pub fn from_u64_pair(a: u64, b: u64) -> Self {
Self {
id: uuid::Uuid::from_u64_pair(a, b),
}
}
}