F4MP/tiltedcode/Code/client/Games/Skyrim/BSSystem/BSThread.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

20 lines
454 B
C++

#pragma once
struct BSThread
{
public:
virtual ~BSThread() = 0;
// runner
virtual uint32_t ThreadProc() = 0;
// probably release
virtual bool Release() = 0;
// private:
CRITICAL_SECTION lock; // in reality a BSCriticalSection
void* m_ThreadHandle;
void* m_ParentHandle;
uint32_t m_ThreadID;
uint32_t m_ParentID;
bool bThreadIsActive;
};
static_assert(sizeof(BSThread) == 0x50, "BSThread size mismatch");