pub struct TeleportFlags(pub u32);Expand description
The flags describing how and why a teleport happened, carried by
TeleportFinish (and TeleportProgress) as the TeleportFlags U32
bitfield. Mirrors the reference viewer’s TELEPORT_FLAGS_*
(indra/llmessage/llteleportflags.h).
Note: OpenSim collapses the flags it sends on TeleportFinish to
VIA_LOCATION (plus IS_FLYING),
so the full set of VIA_* reasons is only observable on the Second Life
grid.
Tuple Fields§
§0: u32Implementations§
Source§impl TeleportFlags
impl TeleportFlags
Sourcepub const SET_HOME_TO_TARGET: u32
pub const SET_HOME_TO_TARGET: u32
Set the agent’s home to the teleport target (SET_HOME_TO_TARGET, a
newbie leaving the prelude).
Sourcepub const SET_LAST_TO_TARGET: u32
pub const SET_LAST_TO_TARGET: u32
Set the agent’s last location to the target (SET_LAST_TO_TARGET).
Sourcepub const VIA_LANDMARK: u32
pub const VIA_LANDMARK: u32
Teleport via a landmark (VIA_LANDMARK).
Sourcepub const VIA_LOCATION: u32
pub const VIA_LOCATION: u32
Teleport via an explicit location (VIA_LOCATION).
Sourcepub const VIA_TELEHUB: u32
pub const VIA_TELEHUB: u32
Teleport via a telehub (VIA_TELEHUB).
Sourcepub const VIA_GODLIKE_LURE: u32
pub const VIA_GODLIKE_LURE: u32
Teleport via a godlike lure (VIA_GODLIKE_LURE).
Sourcepub const NINE_ONE_ONE: u32
pub const NINE_ONE_ONE: u32
An emergency (“911”) teleport (FLAGS_911).
Sourcepub const DISABLE_CANCEL: u32
pub const DISABLE_CANCEL: u32
Cancelling the teleport is disabled (DISABLE_CANCEL, used by
llTeleportAgentHome).
Sourcepub const VIA_REGION_ID: u32
pub const VIA_REGION_ID: u32
Teleport via a region id (VIA_REGION_ID).
Sourcepub const SHOW_RESET_HOME: u32
pub const SHOW_RESET_HOME: u32
Show the reset-home UI on arrival (SHOW_RESET_HOME).
Sourcepub const FORCE_REDIRECT: u32
pub const FORCE_REDIRECT: u32
Force a redirect to some location (FORCE_REDIRECT, used when kicking
someone from land).
Sourcepub const VIA_GLOBAL_COORDS: u32
pub const VIA_GLOBAL_COORDS: u32
Teleport via global coordinates (VIA_GLOBAL_COORDS).
Sourcepub const WITHIN_REGION: u32
pub const WITHIN_REGION: u32
The teleport stays within the same region (WITHIN_REGION).
Trait Implementations§
Source§impl Clone for TeleportFlags
impl Clone for TeleportFlags
Source§fn clone(&self) -> TeleportFlags
fn clone(&self) -> TeleportFlags
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more