![]() |
TrinityCore
|
#include <PacketUtilities.h>
Public Types | |
| using | allocator_traits = ArrayAllocatorTraits< T, N,(sizeof(T) *N > 0x1000)> |
| using | allocator_type = typename allocator_traits::allocator_type |
| using | allocator_resource_type = typename allocator_traits::resource_type |
| using | storage_type = std::vector< T, allocator_type > |
| using | max_capacity = std::integral_constant< std::size_t, N > |
| using | value_type = typename storage_type::value_type |
| using | size_type = typename storage_type::size_type |
| using | pointer = typename storage_type::pointer |
| using | const_pointer = typename storage_type::const_pointer |
| using | reference = typename storage_type::reference |
| using | const_reference = typename storage_type::const_reference |
| using | iterator = typename storage_type::iterator |
| using | const_iterator = typename storage_type::const_iterator |
Public Member Functions | |
| Array () | |
| Array (Array const &other) | |
| Array (Array &&other) noexcept=delete | |
| Array & | operator= (Array const &other) |
| Array & | operator= (Array &&other) noexcept=delete |
| ~Array ()=default | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| pointer | data () |
| const_pointer | data () const |
| size_type | size () const |
| bool | empty () const |
| reference | operator[] (size_type i) |
| const_reference | operator[] (size_type i) const |
| void | resize (size_type newSize) |
| void | push_back (value_type const &value) |
| void | push_back (value_type &&value) |
| template<typename... Args> | |
| T & | emplace_back (Args &&... args) |
| iterator | erase (const_iterator first, const_iterator last) |
| void | clear () |
Private Attributes | |
| allocator_resource_type | _allocatorResource |
| storage_type | _storage |
Utility class for automated prevention of loop counter spoofing in client packets
Definition at line 169 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::allocator_resource_type = typename allocator_traits::resource_type |
Definition at line 174 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::allocator_traits = ArrayAllocatorTraits<T, N, (sizeof(T) * N > 0x1000)> |
Definition at line 172 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::allocator_type = typename allocator_traits::allocator_type |
Definition at line 173 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::const_iterator = typename storage_type::const_iterator |
Definition at line 187 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::const_pointer = typename storage_type::const_pointer |
Definition at line 183 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::const_reference = typename storage_type::const_reference |
Definition at line 185 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::iterator = typename storage_type::iterator |
Definition at line 186 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::max_capacity = std::integral_constant<std::size_t, N> |
Definition at line 178 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::pointer = typename storage_type::pointer |
Definition at line 182 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::reference = typename storage_type::reference |
Definition at line 184 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::size_type = typename storage_type::size_type |
Definition at line 181 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::storage_type = std::vector<T, allocator_type> |
Definition at line 176 of file PacketUtilities.h.
| using WorldPackets::Array< T, N >::value_type = typename storage_type::value_type |
Definition at line 180 of file PacketUtilities.h.
|
inline |
Definition at line 189 of file PacketUtilities.h.
|
inline |
|
deletenoexcept |
|
default |
|
inline |
|
inline |
Definition at line 216 of file PacketUtilities.h.
|
inline |
|
inline |
|
inline |
Definition at line 222 of file PacketUtilities.h.
|
inline |
Definition at line 255 of file PacketUtilities.h.
|
inline |
|
inline |
|
inline |
Definition at line 219 of file PacketUtilities.h.
|
inline |
Definition at line 261 of file PacketUtilities.h.
|
deletenoexcept |
|
inline |
|
inline |
Definition at line 227 of file PacketUtilities.h.
|
inline |
Definition at line 228 of file PacketUtilities.h.
|
inline |
|
inline |
Definition at line 238 of file PacketUtilities.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
private |
Definition at line 272 of file PacketUtilities.h.
|
private |
Definition at line 273 of file PacketUtilities.h.