mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 21:51: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
26 lines
632 B
C++
26 lines
632 B
C++
#ifndef OBJECT_CLIENT_UTIL_HPP
|
|
#define OBJECT_CLIENT_UTIL_HPP
|
|
|
|
#include "object/Types.hpp"
|
|
#include "util/GUID.hpp"
|
|
#include <cstdint>
|
|
|
|
class CClientObjCreate;
|
|
class CGObject_C;
|
|
|
|
CGObject_C* FindActiveObject(WOWGUID guid);
|
|
|
|
void GarbageCollect(OBJECT_TYPE_ID typeID, uint32_t collectAgeMs);
|
|
|
|
CGObject_C* GetUpdateObject(WOWGUID guid, int32_t* reenable);
|
|
|
|
int32_t HandleObjectOutOfRangePass1(CGObject_C* object, OUT_OF_RANGE_TYPE type);
|
|
|
|
void HandleObjectOutOfRangePass2(CGObject_C* object);
|
|
|
|
void InitObject(CGObject_C* object, uint32_t time, CClientObjCreate& objCreate);
|
|
|
|
int32_t SkipPartialObjectUpdate(CDataStore* msg);
|
|
|
|
#endif
|