prime/include/Kyoto/Audio/CSfxHandle.hpp

23 lines
452 B
C++
Raw Normal View History

2022-08-15 04:51:06 +00:00
#ifndef _CSFXHANDLE_HPP
#define _CSFXHANDLE_HPP
#include "types.h"
class CSfxHandle {
public:
CSfxHandle() : value(0) {}
CSfxHandle(uint value) : value(value) {}
2022-08-15 04:51:06 +00:00
// GetIndex__10CSfxHandleCFv
// NullHandle__10CSfxHandleFv
// mRefCount__10CSfxHandle ??
bool operator==(const CSfxHandle& other) { return value == other.value; }
operator bool() const { return value != 0; }
private:
uint value;
2022-08-15 04:51:06 +00:00
};
CHECK_SIZEOF(CSfxHandle, 0x4)
#endif