mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +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
31 lines
777 B
C++
31 lines
777 B
C++
#include "object/client/CGDynamicObject.hpp"
|
|
#include "object/client/CGObject.hpp"
|
|
|
|
uint32_t CGDynamicObject::GetBaseOffset() {
|
|
return CGObject::TotalFields();
|
|
}
|
|
|
|
uint32_t CGDynamicObject::GetBaseOffsetSaved() {
|
|
return CGObject::TotalFieldsSaved();
|
|
}
|
|
|
|
uint32_t CGDynamicObject::GetDataSize() {
|
|
return CGDynamicObject::TotalFields() * sizeof(uint32_t);
|
|
}
|
|
|
|
uint32_t CGDynamicObject::GetDataSizeSaved() {
|
|
return CGDynamicObject::TotalFieldsSaved() * sizeof(uint32_t);
|
|
}
|
|
|
|
uint32_t CGDynamicObject::TotalFields() {
|
|
return CGDynamicObject::GetBaseOffset() + 6;
|
|
}
|
|
|
|
uint32_t CGDynamicObject::TotalFieldsSaved() {
|
|
return CGDynamicObject::GetBaseOffsetSaved() + 0;
|
|
}
|
|
|
|
CGDynamicObjectData* CGDynamicObject::DynamicObject() const {
|
|
return this->m_dynamicObj;
|
|
}
|