Files
SatyandClaude Opus 5.5 f749997f95 Event observer TU and W32/OsCall.cpp
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 14:09:16 +02:00

40 lines
927 B
C++

#ifndef ENGINE_SOURCE_EVENT_OBSERVER_H
#define ENGINE_SOURCE_EVENT_OBSERVER_H
#include <cstdint>
#include "Engine/Source/Base/CDataAllocator.h"
#include "Engine/Source/Storm/Source/SLock.h"
struct EventReg {
struct EVENTCALLBACKREG;
struct EVENTDISPATCHREG;
/* 0000 */ uint8_t unk_0000[0x34];
};
struct EventReg::EVENTCALLBACKREG {
/* 0000 */ uint8_t unk_0000[0x10];
};
struct EventReg::EVENTDISPATCHREG {
/* 0000 */ uint8_t unk_0000[0x10];
};
struct LockedDataAllocator {
/* 0000 */ CDataAllocator m_allocator;
/* 0014 */ SCritSect m_critsect;
LockedDataAllocator(uint32_t bytesPerData, uint32_t dataPerBlock);
};
void InputObserverDestroy();
void InputObserverInitialize();
void ObserverDestroy();
void ObserverInitialize();
// INLINED
inline LockedDataAllocator::LockedDataAllocator(uint32_t bytesPerData, uint32_t dataPerBlock) : m_allocator(bytesPerData, dataPerBlock) {
}
#endif