pub struct LuaSurfaceDeconstructAreaParams {
pub area: BoundingBox,
pub force: ForceID,
pub item: LuaItemStack,
pub player: PlayerIdentification,
pub skip_fog_of_war: bool,
pub super_forced: bool,
}Expand description
Place a deconstruction request.
Fields§
§area: BoundingBoxThe area to mark for deconstruction.
force: ForceIDThe force whose bots should perform the deconstruction.
item: LuaItemStackThe deconstruction item to use if any.
player: PlayerIdentificationThe player to set the last_user to if any.
skip_fog_of_war: boolIf chunks covered by fog-of-war are skipped. Defaults to false.
super_forced: boolIf the deconstruction is super-forced. Defaults to false.
Trait Implementations§
Source§impl Clone for LuaSurfaceDeconstructAreaParams
impl Clone for LuaSurfaceDeconstructAreaParams
Source§fn clone(&self) -> LuaSurfaceDeconstructAreaParams
fn clone(&self) -> LuaSurfaceDeconstructAreaParams
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 Default for LuaSurfaceDeconstructAreaParams
impl Default for LuaSurfaceDeconstructAreaParams
Source§fn default() -> LuaSurfaceDeconstructAreaParams
fn default() -> LuaSurfaceDeconstructAreaParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSurfaceDeconstructAreaParams
impl RefUnwindSafe for LuaSurfaceDeconstructAreaParams
impl Send for LuaSurfaceDeconstructAreaParams
impl Sync for LuaSurfaceDeconstructAreaParams
impl Unpin for LuaSurfaceDeconstructAreaParams
impl UnsafeUnpin for LuaSurfaceDeconstructAreaParams
impl UnwindSafe for LuaSurfaceDeconstructAreaParams
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