pub struct Loiter {
pub target: [f32; 3],
pub duration: f32,
pub happiness: Option<usize>,
}Expand description
A loiter: walk to target, idle for duration seconds, then notify happiness (when set).
Original: FUN_14010fa30, FUN_1400bfb80.
Fields§
§target: [f32; 3]Where to walk.
duration: f32How long to idle, in seconds.
happiness: Option<usize>The building to notify after, if any.
Trait Implementations§
impl StructuralPartialEq for Loiter
Auto Trait Implementations§
impl Freeze for Loiter
impl RefUnwindSafe for Loiter
impl Send for Loiter
impl Sync for Loiter
impl Unpin for Loiter
impl UnsafeUnpin for Loiter
impl UnwindSafe for Loiter
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