pub struct OneShotModData {
pub self_key: Option<Uoid>,
pub anim_name: String,
pub seek_duration: f32,
pub drivable: bool,
pub reversable: bool,
pub smart_seek: bool,
pub no_seek: bool,
}Expand description
Parsed plOneShotMod: holds animation name and seek parameters for one-shot behaviors. C++ ref: plOneShotMod.h:54-82, plOneShotMod.cpp:154-165
Fields§
§self_key: Option<Uoid>§anim_name: StringThe name of the animation to play (e.g., “ClickTurnLeft”).
seek_duration: f32How long to seek to the one-shot position (seconds).
drivable: boolWhether the user can control animation progress.
reversable: boolWhether the user can reverse the animation.
smart_seek: boolUse smart seek to walk to the seek point.
no_seek: boolSkip seeking entirely (teleport to position).
Trait Implementations§
Source§impl Clone for OneShotModData
impl Clone for OneShotModData
Source§fn clone(&self) -> OneShotModData
fn clone(&self) -> OneShotModData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OneShotModData
impl RefUnwindSafe for OneShotModData
impl Send for OneShotModData
impl Sync for OneShotModData
impl Unpin for OneShotModData
impl UnsafeUnpin for OneShotModData
impl UnwindSafe for OneShotModData
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