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

#include <SystemPackets.h>

Classes

struct  EuropaTicketConfig
 
struct  SavedThrottleObjectState
 
struct  SessionAlertConfig
 

Public Member Functions

 FeatureSystemStatus ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer 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

bool VoiceEnabled = false
 
bool BrowserEnabled = false
 
bool BpayStoreAvailable = false
 
bool RecruitAFriendSendingEnabled = false
 
bool BpayStoreEnabled = false
 
Optional< SessionAlertConfigSessionAlert
 
uint32 ScrollOfResurrectionMaxRequestsPerDay = 0
 
bool ScrollOfResurrectionEnabled = false
 
Optional< EuropaTicketConfigEuropaTicketSystemStatus
 
uint32 ScrollOfResurrectionRequestsRemaining = 0
 
uint32 CfgRealmID = 0
 
uint8 ComplaintStatus = 0
 
int32 CfgRealmRecID = 0
 
int32 TwitterPostThrottleLimit = 0
 Number of twitter posts the client can send before they start being throttled. More...
 
int32 TwitterPostThrottleCooldown = 0
 Time in seconds the client has to wait before posting again after hitting post limit. More...
 
int32 TokenPollTimeSeconds = 0
 
int32 TokenRedeemIndex = 0
 
bool ItemRestorationButtonEnabled = false
 
bool CharUndeleteEnabled = false
 Implemented. More...
 
bool BpayStoreDisabledByParentalControls = false
 
bool TwitterEnabled = false
 
bool CommerceSystemEnabled = false
 
bool Unk67 = false
 
bool WillKickFromWorld = false
 
bool RestrictedAccount = false
 
bool TutorialsEnabled = false
 
bool NPETutorialsEnabled = false
 
bool UnkBit61 = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::System::FeatureSystemStatus::FeatureSystemStatus ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:981

Member Function Documentation

WorldPacket const * WorldPackets::System::FeatureSystemStatus::Write ( )
overridevirtual

Implements WorldPackets::Packet.

21 {
23 
32 
41  _worldPacket.WriteBit(SessionAlert.is_initialized());
52 
54 
56  {
60  _worldPacket.WriteBit(EuropaTicketSystemStatus->SuggestionsEnabled);
61 
62  _worldPacket << uint32(EuropaTicketSystemStatus->ThrottleState.MaxTries);
63  _worldPacket << uint32(EuropaTicketSystemStatus->ThrottleState.PerMilliseconds);
64  _worldPacket << uint32(EuropaTicketSystemStatus->ThrottleState.TryCount);
65  _worldPacket << uint32(EuropaTicketSystemStatus->ThrottleState.LastResetTimeBeforeNow);
66  }
67 
68  if (SessionAlert)
69  {
70  _worldPacket << int32(SessionAlert->Delay);
71  _worldPacket << int32(SessionAlert->Period);
72  _worldPacket << int32(SessionAlert->DisplayTime);
73  }
74 
75  /*if (bit61)
76  {
77  var int88 = packet.ReadInt32("int88");
78  for (int i = 0; i < int88; i++)
79  packet.ReadByte("byte23", i);
80  }*/
81 
83 
84  return &_worldPacket;
85 }
int32 TokenPollTimeSeconds
Definition: SystemPackets.h:74
bool ScrollOfResurrectionEnabled
Definition: SystemPackets.h:66
Optional< EuropaTicketConfig > EuropaTicketSystemStatus
Definition: SystemPackets.h:67
bool RecruitAFriendSendingEnabled
Definition: SystemPackets.h:62
bool WillKickFromWorld
Definition: SystemPackets.h:82
bool TutorialsEnabled
Definition: SystemPackets.h:85
uint8 ComplaintStatus
Definition: SystemPackets.h:70
void FlushBits()
Definition: ByteBuffer.h:150
int32 TwitterPostThrottleCooldown
Time in seconds the client has to wait before posting again after hitting post limit.
Definition: SystemPackets.h:73
bool CharUndeleteEnabled
Implemented.
Definition: SystemPackets.h:77
uint32 ScrollOfResurrectionMaxRequestsPerDay
Definition: SystemPackets.h:65
bool BrowserEnabled
Definition: SystemPackets.h:60
WorldPacket _worldPacket
Definition: Packet.h:43
bool ItemRestorationButtonEnabled
Definition: SystemPackets.h:76
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool RestrictedAccount
Definition: SystemPackets.h:84
bool BpayStoreAvailable
Definition: SystemPackets.h:61
bool UnkBit61
Definition: SystemPackets.h:87
uint32 ScrollOfResurrectionRequestsRemaining
Definition: SystemPackets.h:68
bool NPETutorialsEnabled
Definition: SystemPackets.h:86
int32 CfgRealmRecID
Definition: SystemPackets.h:71
bool Unk67
Definition: SystemPackets.h:81
bool CommerceSystemEnabled
Definition: SystemPackets.h:80
uint32 CfgRealmID
Definition: SystemPackets.h:69
uint8_t uint8
Definition: g3dmath.h:164
bool VoiceEnabled
Definition: SystemPackets.h:59
bool TwitterEnabled
Definition: SystemPackets.h:79
int32_t int32
Definition: g3dmath.h:167
bool BpayStoreDisabledByParentalControls
Definition: SystemPackets.h:78
int32 TwitterPostThrottleLimit
Number of twitter posts the client can send before they start being throttled.
Definition: SystemPackets.h:72
int32 TokenRedeemIndex
Definition: SystemPackets.h:75
uint32_t uint32
Definition: g3dmath.h:168
Optional< SessionAlertConfig > SessionAlert
Definition: SystemPackets.h:64
bool BpayStoreEnabled
Definition: SystemPackets.h:63

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool WorldPackets::System::FeatureSystemStatus::BpayStoreAvailable = false
bool WorldPackets::System::FeatureSystemStatus::BpayStoreDisabledByParentalControls = false
bool WorldPackets::System::FeatureSystemStatus::BpayStoreEnabled = false
bool WorldPackets::System::FeatureSystemStatus::BrowserEnabled = false
uint32 WorldPackets::System::FeatureSystemStatus::CfgRealmID = 0
int32 WorldPackets::System::FeatureSystemStatus::CfgRealmRecID = 0
bool WorldPackets::System::FeatureSystemStatus::CharUndeleteEnabled = false

Implemented.

bool WorldPackets::System::FeatureSystemStatus::CommerceSystemEnabled = false
uint8 WorldPackets::System::FeatureSystemStatus::ComplaintStatus = 0
Optional<EuropaTicketConfig> WorldPackets::System::FeatureSystemStatus::EuropaTicketSystemStatus
bool WorldPackets::System::FeatureSystemStatus::ItemRestorationButtonEnabled = false
bool WorldPackets::System::FeatureSystemStatus::NPETutorialsEnabled = false
bool WorldPackets::System::FeatureSystemStatus::RecruitAFriendSendingEnabled = false
bool WorldPackets::System::FeatureSystemStatus::RestrictedAccount = false
bool WorldPackets::System::FeatureSystemStatus::ScrollOfResurrectionEnabled = false
uint32 WorldPackets::System::FeatureSystemStatus::ScrollOfResurrectionMaxRequestsPerDay = 0
uint32 WorldPackets::System::FeatureSystemStatus::ScrollOfResurrectionRequestsRemaining = 0
Optional<SessionAlertConfig> WorldPackets::System::FeatureSystemStatus::SessionAlert
int32 WorldPackets::System::FeatureSystemStatus::TokenPollTimeSeconds = 0
int32 WorldPackets::System::FeatureSystemStatus::TokenRedeemIndex = 0
bool WorldPackets::System::FeatureSystemStatus::TutorialsEnabled = false
bool WorldPackets::System::FeatureSystemStatus::TwitterEnabled = false
int32 WorldPackets::System::FeatureSystemStatus::TwitterPostThrottleCooldown = 0

Time in seconds the client has to wait before posting again after hitting post limit.

int32 WorldPackets::System::FeatureSystemStatus::TwitterPostThrottleLimit = 0

Number of twitter posts the client can send before they start being throttled.

bool WorldPackets::System::FeatureSystemStatus::Unk67 = false
bool WorldPackets::System::FeatureSystemStatus::UnkBit61 = false
bool WorldPackets::System::FeatureSystemStatus::VoiceEnabled = false
bool WorldPackets::System::FeatureSystemStatus::WillKickFromWorld = false

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