pub struct OnBlueprintSettingsPastedEvent {
pub entity: LuaEntity,
pub mirrored: bool,
pub name: &'static str,
pub player_index: u32,
pub previous_direction: &'static str,
pub tags: LuaAny,
pub tick: u32,
}Expand description
Called when a blueprint entity is pasted over an existing entity or entity ghost.
The entity’s settings, rotation, mirroring, wire connections, etc. may have been updated. This event is raised even if no settings actually changed.
Note this event is not raised when an entity is upgraded or marked for upgrade, when a new entity is created, or when an entity ghost is instantly revived. on_built_entity is raised instead in those cases.
Fields§
§entity: LuaEntity§mirrored: bool§name: &'static str§player_index: u32§previous_direction: &'static str§tick: u32Trait Implementations§
Source§impl Clone for OnBlueprintSettingsPastedEvent
impl Clone for OnBlueprintSettingsPastedEvent
Source§fn clone(&self) -> OnBlueprintSettingsPastedEvent
fn clone(&self) -> OnBlueprintSettingsPastedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnBlueprintSettingsPastedEvent
Source§impl Default for OnBlueprintSettingsPastedEvent
impl Default for OnBlueprintSettingsPastedEvent
Source§fn default() -> OnBlueprintSettingsPastedEvent
fn default() -> OnBlueprintSettingsPastedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnBlueprintSettingsPastedEvent
Auto Trait Implementations§
impl Freeze for OnBlueprintSettingsPastedEvent
impl RefUnwindSafe for OnBlueprintSettingsPastedEvent
impl Send for OnBlueprintSettingsPastedEvent
impl Sync for OnBlueprintSettingsPastedEvent
impl Unpin for OnBlueprintSettingsPastedEvent
impl UnsafeUnpin for OnBlueprintSettingsPastedEvent
impl UnwindSafe for OnBlueprintSettingsPastedEvent
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