TrinityCore
WorldPackets::Vehicle::RequestVehicleSwitchSeat Class Referencefinal

#include <VehiclePackets.h>

+ Inheritance diagram for WorldPackets::Vehicle::RequestVehicleSwitchSeat:

Public Member Functions

 RequestVehicleSwitchSeat (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket const * Write () override final
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid Vehicle
 
uint8 SeatIndex = 255
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 108 of file VehiclePackets.h.

Constructor & Destructor Documentation

◆ RequestVehicleSwitchSeat()

WorldPackets::Vehicle::RequestVehicleSwitchSeat::RequestVehicleSwitchSeat ( WorldPacket &&  packet)
inline

Definition at line 111 of file VehiclePackets.h.

Member Function Documentation

◆ Read()

void WorldPackets::Vehicle::RequestVehicleSwitchSeat::Read ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 55 of file VehiclePackets.cpp.

Member Data Documentation

◆ SeatIndex

uint8 WorldPackets::Vehicle::RequestVehicleSwitchSeat::SeatIndex = 255

Definition at line 116 of file VehiclePackets.h.

◆ Vehicle

ObjectGuid WorldPackets::Vehicle::RequestVehicleSwitchSeat::Vehicle

Definition at line 115 of file VehiclePackets.h.


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