pub struct SpellTargetSelfServerPacket {
pub player_id: i32,
pub spell_id: i32,
pub spell_heal_hp: i32,
pub hp_percentage: i32,
pub hp: Option<i32>,
pub tp: Option<i32>,
}Expand description
Nearby player self-casted a spell
Fields§
§player_id: i32§spell_id: i32§spell_heal_hp: i32§hp_percentage: i32§hp: Option<i32>The official client reads this if the packet is larger than 12 bytes
tp: Option<i32>The official client reads this if the packet is larger than 12 bytes
Implementations§
Trait Implementations§
Source§impl Clone for SpellTargetSelfServerPacket
impl Clone for SpellTargetSelfServerPacket
Source§fn clone(&self) -> SpellTargetSelfServerPacket
fn clone(&self) -> SpellTargetSelfServerPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpellTargetSelfServerPacket
impl Debug for SpellTargetSelfServerPacket
Source§impl Default for SpellTargetSelfServerPacket
impl Default for SpellTargetSelfServerPacket
Source§fn default() -> SpellTargetSelfServerPacket
fn default() -> SpellTargetSelfServerPacket
Returns the “default value” for a type. Read more
Source§impl EoSerialize for SpellTargetSelfServerPacket
impl EoSerialize for SpellTargetSelfServerPacket
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a SpellTargetSelfServerPacket into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a SpellTargetSelfServerPacket from an EoReader instance
impl Eq for SpellTargetSelfServerPacket
impl StructuralPartialEq for SpellTargetSelfServerPacket
Auto Trait Implementations§
impl Freeze for SpellTargetSelfServerPacket
impl RefUnwindSafe for SpellTargetSelfServerPacket
impl Send for SpellTargetSelfServerPacket
impl Sync for SpellTargetSelfServerPacket
impl Unpin for SpellTargetSelfServerPacket
impl UnsafeUnpin for SpellTargetSelfServerPacket
impl UnwindSafe for SpellTargetSelfServerPacket
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