mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-06 08:02:16 +03:00
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
33 lines
749 B
C++
33 lines
749 B
C++
#ifndef OBJECT_CLIENT_CG_CONTAINER_HPP
|
|
#define OBJECT_CLIENT_CG_CONTAINER_HPP
|
|
|
|
#include "util/GUID.hpp"
|
|
#include <cstdint>
|
|
|
|
struct CGContainerData {
|
|
uint32_t numSlots;
|
|
uint32_t pad;
|
|
WOWGUID slots[36];
|
|
};
|
|
|
|
class CGContainer {
|
|
public:
|
|
// Public static functions
|
|
static uint32_t GetBaseOffset();
|
|
static uint32_t GetBaseOffsetSaved();
|
|
static uint32_t GetDataSize();
|
|
static uint32_t GetDataSizeSaved();
|
|
static uint32_t TotalFields();
|
|
static uint32_t TotalFieldsSaved();
|
|
|
|
protected:
|
|
// Protected member variables
|
|
CGContainerData* m_cont;
|
|
uint32_t* m_contSaved;
|
|
|
|
// Protected member functions
|
|
CGContainerData* Container() const;
|
|
};
|
|
|
|
#endif
|