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]>
25 lines
544 B
C++
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
|