![]() |
TrinityCore
|
#include <AuthenticationPackets.h>
Inheritance diagram for WorldPackets::Auth::EnterEncryptedMode:Public Member Functions | |
| EnterEncryptedMode (std::array< uint8, 32 > const &encryptionKey, bool enabled) | |
| WorldPacket const * | Write () override |
Public Member Functions inherited from WorldPackets::ServerPacket | |
| ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT) | |
| void | Read () final |
| void | Clear () |
| WorldPacket && | Move () |
| void | ShrinkToFit () |
| OpcodeServer | GetOpcode () const |
Public Member Functions inherited from WorldPackets::Packet | |
| Packet (WorldPacket &&worldPacket) | |
| virtual | ~Packet ()=default |
| Packet (Packet const &right)=delete | |
| Packet & | operator= (Packet const &right)=delete |
| WorldPacket const * | GetRawPacket () const |
| size_t | GetSize () const |
| ConnectionType | GetConnection () const |
Static Public Member Functions | |
| static bool | InitializeEncryption () |
| static void | ShutdownEncryption () |
Public Attributes | |
| int32 | RegionGroup = 0 |
| std::array< uint8, 32 > const & | EncryptionKey |
| bool | Enabled = false |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
Definition at line 327 of file AuthenticationPackets.h.
|
inlineexplicit |
Definition at line 333 of file AuthenticationPackets.h.
|
static |
Definition at line 352 of file AuthenticationPackets.cpp.
Referenced by World::SetInitialWorldSettings().
|
static |
Definition at line 362 of file AuthenticationPackets.cpp.
Referenced by main().
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 371 of file AuthenticationPackets.cpp.
References WorldPackets::Packet::_worldPacket, ByteBuffer::append(), Enabled, WorldPackets::Auth::EnableEncryptionContext, WorldPackets::Auth::EnableEncryptionSeed, EncryptionKey, ByteBuffer::FlushBits(), Trinity::Impl::GenericHMAC< HashCreator, DigestLength >::GetDigestOf(), and RegionGroup.
| bool WorldPackets::Auth::EnterEncryptedMode::Enabled = false |
Definition at line 342 of file AuthenticationPackets.h.
Referenced by Write().
| std::array<uint8, 32> const& WorldPackets::Auth::EnterEncryptedMode::EncryptionKey |
Definition at line 341 of file AuthenticationPackets.h.
Referenced by Write().
| int32 WorldPackets::Auth::EnterEncryptedMode::RegionGroup = 0 |
Definition at line 340 of file AuthenticationPackets.h.
Referenced by Write().