mirror of https://github.com/PrimeDecomp/prime.git
33 lines
541 B
C++
33 lines
541 B
C++
#ifndef _IOBJECTSTORE_HPP
|
|
#define _IOBJECTSTORE_HPP
|
|
|
|
#include "types.h"
|
|
|
|
#include "rstl/rc_ptr.hpp"
|
|
|
|
typedef u32 CAssetId;
|
|
typedef u32 FourCC;
|
|
|
|
struct SObjectTag {
|
|
FourCC type;
|
|
CAssetId id;
|
|
|
|
SObjectTag(const SObjectTag& other) : type(other.type), id(other.id) {}
|
|
};
|
|
|
|
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
|