TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Query::GameObjectStats Struct Reference

#include <QueryPackets.h>

Public Member Functions

size_t GetDataSize () const
 

Public Attributes

std::string Name [4]
 
std::string IconName
 
std::string CastBarCaption
 
std::string UnkString
 
uint32 Type = 0
 
uint32 DisplayID = 0
 
uint32 Data [MAX_GAMEOBJECT_DATA]
 
float Size = 0.0f
 
std::vector< int32QuestItems
 
uint32 Expansion = 0
 

Member Function Documentation

size_t WorldPackets::Query::GameObjectStats::GetDataSize ( ) const
inline
241  {
242  // [1..3] always empty '\0' '\0' '\0' '\0' QuestItems counter
243  return sizeof(Type) + sizeof(DisplayID) + (Name->size() + (4 * 1)) + (IconName.size() + 1) + (CastBarCaption.size() + 1) + (UnkString.size() + 1) + sizeof(Data) + sizeof(Size) + sizeof(uint8) + (QuestItems.size() * sizeof(int32)) + sizeof(Expansion);
244  }
uint32 Expansion
Definition: QueryPackets.h:238
uint32 Type
Definition: QueryPackets.h:233
std::string Name[4]
Definition: QueryPackets.h:229
std::string UnkString
Definition: QueryPackets.h:232
std::vector< int32 > QuestItems
Definition: QueryPackets.h:237
int32_t int32
Definition: g3dmath.h:167
uint8_t uint8
Definition: Define.h:152
float Size
Definition: QueryPackets.h:236
std::string IconName
Definition: QueryPackets.h:230
uint32 DisplayID
Definition: QueryPackets.h:234
std::string CastBarCaption
Definition: QueryPackets.h:231
Data
Definition: molten_core.h:69

Member Data Documentation

std::string WorldPackets::Query::GameObjectStats::CastBarCaption
uint32 WorldPackets::Query::GameObjectStats::Data[MAX_GAMEOBJECT_DATA]
uint32 WorldPackets::Query::GameObjectStats::DisplayID = 0
uint32 WorldPackets::Query::GameObjectStats::Expansion = 0
std::string WorldPackets::Query::GameObjectStats::IconName
std::string WorldPackets::Query::GameObjectStats::Name[4]
std::vector<int32> WorldPackets::Query::GameObjectStats::QuestItems
float WorldPackets::Query::GameObjectStats::Size = 0.0f
uint32 WorldPackets::Query::GameObjectStats::Type = 0
std::string WorldPackets::Query::GameObjectStats::UnkString

The documentation for this struct was generated from the following file: