[][src]Struct terraria_protocol::packets::UpdateItemDrop2

pub struct UpdateItemDrop2 {
    pub item_id: i16,
    pub pos: Vec2,
    pub vel: Vec2,
    pub stack_size: i16,
    pub prefix: u8,
    pub no_delay: u8,
    pub item_net_id: i16,
}

Update Item Drop 2.

Direction: Server <-> Client (Sync).

Fields

item_id: i16

Should set to null if item_id < 400 && item_net_id == 0`. Otherwise, if item_id = 400`` it's a new item.

pos: Vec2vel: Vec2stack_size: i16prefix: u8no_delay: u8

If 0, set own_ignore = 0 and own_time = 100.

item_net_id: i16

Trait Implementations

impl Debug for UpdateItemDrop2[src]

impl PacketBody for UpdateItemDrop2[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.