[][src]Struct terraria_protocol::packets::SyncRevenge

pub struct SyncRevenge {
    pub unique_id: i32,
    pub pos: Vec2,
    pub npc_id: i32,
    pub npc_hp_percent: f32,
    pub npc_type: i32,
    pub npc_ai: i32,
    pub coin_value: i32,
    pub base_value: f32,
    pub spawnedfromstatue: bool,
}

Sync the revenge marker.

Direction: Server -> Client.

Fields

unique_id: i32pos: Vec2npc_id: i32npc_hp_percent: f32npc_type: i32npc_ai: i32coin_value: i32base_value: f32spawnedfromstatue: bool

Trait Implementations

impl Debug for SyncRevenge[src]

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