Continued work on CActor

Former-commit-id: 09dfe946fc
This commit is contained in:
2022-08-15 00:51:06 -04:00
parent e9704b7718
commit 94e27faee8
97 changed files with 234 additions and 159 deletions

View File

@@ -0,0 +1,23 @@
#ifndef _CSFXHANDLE_HPP
#define _CSFXHANDLE_HPP
#include "types.h"
class CSfxHandle {
public:
CSfxHandle() : value(0) {}
CSfxHandle(u32 value) : value(value) {}
// GetIndex__10CSfxHandleCFv
// NullHandle__10CSfxHandleFv
// mRefCount__10CSfxHandle ??
bool operator==(const CSfxHandle& other) { return value == other.value; }
operator bool() const { return value != 0; }
private:
u32 value;
};
CHECK_SIZEOF(CSfxHandle, 0x4)
#endif