Files
wowdecomp/Engine/Source/Base/Handle.h
T
SatyandClaude Opus 5.5 04a7d5136a Base: CDataRecycler, RefCount.cpp; move header function bodies to .cpp
Port CDataRecycler following the 12340 binary (Link takes two arguments).
Move every non-template function body out of the Base headers into their
.cpp files, give TRefCnt its own RefCount.cpp, and record the rule in
CODING_RULES.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 04:46:38 +02:00

25 lines
544 B
C++

#ifndef ENGINE_SOURCE_BASE_HANDLE_H
#define ENGINE_SOURCE_BASE_HANDLE_H
#include <cstdint>
#include "Engine/Source/Base/Types.h"
class CHandleObject {
public:
/* 0004 */ int32_t m_refcount;
virtual ~CHandleObject();
virtual const char* GetObjectName();
CHandleObject();
};
void HandleClose(HOBJECT handle);
HOBJECT HandleCreate(CHandleObject* ptr, const char* handleName);
CHandleObject* HandleDereference(HOBJECT handle);
void HandleDestroy();
HOBJECT HandleDuplicate(HOBJECT handle);
void HandleInitialize();
#endif