TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ReputationPackets.cpp File Reference
+ Include dependency graph for ReputationPackets.cpp:

Functions

ByteBufferoperator<< (ByteBuffer &data, WorldPackets::Reputation::ForcedReaction const &forcedReaction)
 
ByteBufferoperator<< (ByteBuffer &data, WorldPackets::Reputation::FactionStandingData const &factionStanding)
 

Function Documentation

ByteBuffer& operator<< ( ByteBuffer data,
WorldPackets::Reputation::ForcedReaction const forcedReaction 
)
37 {
38  data << int32(forcedReaction.Faction);
39  data << int32(forcedReaction.Reaction);
40  return data;
41 }
int32_t int32
Definition: g3dmath.h:167
ByteBuffer& operator<< ( ByteBuffer data,
WorldPackets::Reputation::FactionStandingData const factionStanding 
)
55 {
56  data << int32(factionStanding.Index);
57  data << int32(factionStanding.Standing);
58  return data;
59 }
int32_t int32
Definition: g3dmath.h:167