pub struct LuaEntitySilentReviveParams {
pub overflow: LuaInventory,
pub raise_revive: bool,
}Expand description
Revives a ghost silently, so the revival makes no sound and no smoke is created.
Fields§
§overflow: LuaInventoryItems that would be deleted will be transferred to this inventory. Must be a script inventory or inventory of other entity. Inventory references obtained from proxy container are not allowed.
raise_revive: boolIf true, and an entity ghost; script_raised_revive will be called. Else if true, and a tile ghost; script_raised_set_tiles will be called.
Trait Implementations§
Source§impl Clone for LuaEntitySilentReviveParams
impl Clone for LuaEntitySilentReviveParams
Source§fn clone(&self) -> LuaEntitySilentReviveParams
fn clone(&self) -> LuaEntitySilentReviveParams
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 moreSource§impl Debug for LuaEntitySilentReviveParams
impl Debug for LuaEntitySilentReviveParams
Source§impl Default for LuaEntitySilentReviveParams
impl Default for LuaEntitySilentReviveParams
Source§fn default() -> LuaEntitySilentReviveParams
fn default() -> LuaEntitySilentReviveParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaEntitySilentReviveParams
impl RefUnwindSafe for LuaEntitySilentReviveParams
impl Send for LuaEntitySilentReviveParams
impl Sync for LuaEntitySilentReviveParams
impl Unpin for LuaEntitySilentReviveParams
impl UnsafeUnpin for LuaEntitySilentReviveParams
impl UnwindSafe for LuaEntitySilentReviveParams
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