TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Spells::MissileTrajectoryCollision Class Referencefinal

#include <SpellPackets.h>

Public Member Functions

 MissileTrajectoryCollision (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid Target
 
int32 SpellID = 0
 
uint8 CastID = 0
 
G3D::Vector3 CollisionPos
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::MissileTrajectoryCollision::MissileTrajectoryCollision ( WorldPacket &&  packet)
inline
832 : ClientPacket(CMSG_MISSILE_TRAJECTORY_COLLISION, std::move(packet)) { }
Definition: Opcodes.h:408
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Spells::MissileTrajectoryCollision::Read ( )
overridevirtual

Implements WorldPackets::Packet.

804 {
805  _worldPacket >> Target;
807  _worldPacket >> CastID;
809 }
int32 SpellID
Definition: SpellPackets.h:837
WorldPacket _worldPacket
Definition: Packet.h:43
G3D::Vector3 CollisionPos
Definition: SpellPackets.h:839
ObjectGuid Target
Definition: SpellPackets.h:836
uint8 CastID
Definition: SpellPackets.h:838

Member Data Documentation

uint8 WorldPackets::Spells::MissileTrajectoryCollision::CastID = 0
G3D::Vector3 WorldPackets::Spells::MissileTrajectoryCollision::CollisionPos
int32 WorldPackets::Spells::MissileTrajectoryCollision::SpellID = 0
ObjectGuid WorldPackets::Spells::MissileTrajectoryCollision::Target

The documentation for this class was generated from the following files: