prime/include/Kyoto/Audio/CSfxHandle.hpp
Luke Street 0f25a3c8d4 Migrate s32->int, u32->uint; fix dolphin/types.h
Former-commit-id: 7eb08b6ee832f11971da0cfdc53b5a55b74ac79d
2022-09-05 00:01:22 -04:00

23 lines
452 B
C++

#ifndef _CSFXHANDLE_HPP
#define _CSFXHANDLE_HPP
#include "types.h"
class CSfxHandle {
public:
CSfxHandle() : value(0) {}
CSfxHandle(uint 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:
uint value;
};
CHECK_SIZEOF(CSfxHandle, 0x4)
#endif