#[non_exhaustive]pub enum SceneEvent {
RegionDestroyedWithOwnObjects,
AvatarEnterOrLeave {
bound_chat_notified: bool,
},
RegionChangedForParticipant,
ObjectDestroyedByAdmin,
AssetChanged,
PositionReconciliation,
}Expand description
A change, as seen by the user who receives the push, for which §Push Urgency recommends an urgency.
The consumer classifies each change it is about to push; only it knows who receives the push and why the record changed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RegionDestroyedWithOwnObjects
SceneRegion/set destroy of a region in which the receiving user
had SceneObject records: high.
AvatarEnterOrLeave
A user entered or left a region the receiving user is present in:
normal, or low when bound_chat_notified.
Fields
RegionChangedForParticipant
Region creation or a configuration change of a region the receiving
user is an active participant in: normal.
ObjectDestroyedByAdmin
A region owner or deployment admin destroyed the receiving user’s
SceneObject: low.
AssetChanged
A SceneAsset change: very-low.
PositionReconciliation
A SceneObject or SceneAvatar position or property update from
periodic simulation-layer reconciliation: very-low.
Implementations§
Source§impl SceneEvent
impl SceneEvent
Sourcepub const fn urgency(self) -> Urgency
pub const fn urgency(self) -> Urgency
The §Push Urgency recommendation for this event.
For an avatar enter or leave already announced by a Chat push,
§Avatar Enter and Chat Member Join says the server “SHOULD NOT set
Urgency: normal or higher on the SceneAvatar StateChange”; this
returns low, the highest urgency that rule leaves, so the state
change itself is not held back further.