pub struct OnPlayerBuiltTileEvent {
pub inventory: LuaInventory,
pub item: LuaItemPrototype,
pub name: &'static str,
pub player_index: u32,
pub quality: LuaQualityPrototype,
pub surface_index: u32,
pub tick: u32,
pub tile: LuaTilePrototype,
pub tiles: &'static [LuaAny],
}Expand description
Called after a player builds tiles.
Fields§
§inventory: LuaInventory§item: LuaItemPrototype§name: &'static str§player_index: u32§quality: LuaQualityPrototype§surface_index: u32§tick: u32§tile: LuaTilePrototype§tiles: &'static [LuaAny]Trait Implementations§
Source§impl Clone for OnPlayerBuiltTileEvent
impl Clone for OnPlayerBuiltTileEvent
Source§fn clone(&self) -> OnPlayerBuiltTileEvent
fn clone(&self) -> OnPlayerBuiltTileEvent
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 OnPlayerBuiltTileEvent
Source§impl Debug for OnPlayerBuiltTileEvent
impl Debug for OnPlayerBuiltTileEvent
Source§impl Default for OnPlayerBuiltTileEvent
impl Default for OnPlayerBuiltTileEvent
Source§fn default() -> OnPlayerBuiltTileEvent
fn default() -> OnPlayerBuiltTileEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnPlayerBuiltTileEvent
impl PartialEq for OnPlayerBuiltTileEvent
impl StructuralPartialEq for OnPlayerBuiltTileEvent
Auto Trait Implementations§
impl Freeze for OnPlayerBuiltTileEvent
impl RefUnwindSafe for OnPlayerBuiltTileEvent
impl Send for OnPlayerBuiltTileEvent
impl Sync for OnPlayerBuiltTileEvent
impl Unpin for OnPlayerBuiltTileEvent
impl UnsafeUnpin for OnPlayerBuiltTileEvent
impl UnwindSafe for OnPlayerBuiltTileEvent
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