2022-04-10 00:17:06 +00:00
|
|
|
#ifndef _IOBJECTSTORE_HPP
|
|
|
|
#define _IOBJECTSTORE_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "rstl/rc_ptr.hpp"
|
|
|
|
|
2022-07-18 22:42:58 +00:00
|
|
|
typedef u32 CAssetId;
|
|
|
|
typedef u32 FourCC;
|
|
|
|
|
|
|
|
struct SObjectTag {
|
|
|
|
FourCC type;
|
|
|
|
CAssetId id;
|
|
|
|
|
|
|
|
SObjectTag(const SObjectTag& other) : type(other.type), id(other.id) {}
|
|
|
|
};
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
class IObjectStore;
|
|
|
|
class IObj;
|
|
|
|
class CVParamTransfer {
|
|
|
|
rstl::rc_ptr< void > x0_;
|
|
|
|
};
|
|
|
|
class CObjectReference {
|
|
|
|
u16 x0_refCount;
|
|
|
|
u16 x2_lockCount;
|
|
|
|
SObjectTag x4_objTag;
|
|
|
|
IObjectStore* xc_objectStore;
|
|
|
|
IObj* x10_object;
|
|
|
|
CVParamTransfer x14_params;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|