[][src]Struct terraria_protocol::packets::PlayerNpcTeleport

pub struct PlayerNpcTeleport {
    pub flags: u8,
    pub target_id: i16,
    pub pos: Vec2,
    pub style: u8,
    pub extrainfo: i32,
}

No description known yet.

Direction: Server <-> Client (Sync).

Fields

flags: u8

BitFlags: 0 = Player Teleport (Neither 1 or 2), 1 = NPC Teleport, 2 = Player Teleport to Other Player, 4 = GetPositionFromTarget, 8 = HasExtraInfo

target_id: i16pos: Vec2style: u8extrainfo: i32

Only sent if HasExtraInfo flag is true

Trait Implementations

impl Debug for PlayerNpcTeleport[src]

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