Struct PlayerAdvancementProgressEvent
pub struct PlayerAdvancementProgressEvent<'a> {
pub player: u128,
pub player_entity_id: i32,
pub name: &'a str,
pub advancement: &'a str,
pub criterion: &'a str,
pub progress_type: ProgressType,
pub progress: &'a AdvancementProgress,
}Expand description
What Hooks::player_advancement_progress is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§player_entity_id: i32§name: &'a str§advancement: &'a str§criterion: &'a str§progress_type: ProgressType§progress: &'a AdvancementProgressAuto Trait Implementations§
impl<'a> Freeze for PlayerAdvancementProgressEvent<'a>
impl<'a> RefUnwindSafe for PlayerAdvancementProgressEvent<'a>
impl<'a> Send for PlayerAdvancementProgressEvent<'a>
impl<'a> Sync for PlayerAdvancementProgressEvent<'a>
impl<'a> Unpin for PlayerAdvancementProgressEvent<'a>
impl<'a> UnsafeUnpin for PlayerAdvancementProgressEvent<'a>
impl<'a> UnwindSafe for PlayerAdvancementProgressEvent<'a>
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