[][src]Enum terraria_protocol::structures::TileEntity

pub enum TileEntity {
    TrainingDummy {
        id: i32,
        x: u16,
        y: u16,
        npc_index: u16,
    },
    ItemFrame {
        id: i32,
        x: u16,
        y: u16,
        item_type: u16,
        item_prefix: u8,
        item_stack: u16,
    },
    LogicSensor {
        id: i32,
        x: u16,
        y: u16,
        logic_check_type: u8,
        on: bool,
    },
    DisplayDoll {
        id: i32,
        x: u16,
        y: u16,
        flags: [u8; 2],
    },
    WeaponRack {
        id: i32,
        x: u16,
        y: u16,
        item_type: u16,
        item_prefix: u8,
        item_stack: u16,
    },
    HatRack {
        id: i32,
        x: u16,
        y: u16,
        flags: u8,
    },
    FoodPlatter {
        id: i32,
        x: u16,
        y: u16,
        item_type: u16,
        item_prefix: u8,
        item_stack: u16,
    },
    Pylon {
        id: i32,
        x: u16,
        y: u16,
    },
}

Variants

TrainingDummy

Fields of TrainingDummy

id: i32x: u16y: u16npc_index: u16
ItemFrame

Fields of ItemFrame

id: i32x: u16y: u16item_type: u16item_prefix: u8item_stack: u16
LogicSensor

Fields of LogicSensor

id: i32x: u16y: u16logic_check_type: u8on: bool
DisplayDoll

Fields of DisplayDoll

id: i32x: u16y: u16flags: [u8; 2]
WeaponRack

Fields of WeaponRack

id: i32x: u16y: u16item_type: u16item_prefix: u8item_stack: u16
HatRack

Fields of HatRack

id: i32x: u16y: u16flags: u8
FoodPlatter

Fields of FoodPlatter

id: i32x: u16y: u16item_type: u16item_prefix: u8item_stack: u16
Pylon

Fields of Pylon

id: i32x: u16y: u16

Trait Implementations

impl Debug for TileEntity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.