mirror of https://github.com/PrimeDecomp/prime.git
21 lines
401 B
C++
21 lines
401 B
C++
#ifndef _SOBJECTTAG
|
|
#define _SOBJECTTAG
|
|
|
|
#define kInvalidAssetId 0xFFFFFFFFu
|
|
|
|
typedef uint CAssetId;
|
|
typedef uint FourCC;
|
|
|
|
struct SObjectTag {
|
|
FourCC type;
|
|
CAssetId id;
|
|
|
|
SObjectTag() {}
|
|
SObjectTag(FourCC type, CAssetId id) : type(type), id(id) {}
|
|
SObjectTag(const SObjectTag& other) : type(other.type), id(other.id) {}
|
|
|
|
static const char* Type2Text(FourCC type);
|
|
};
|
|
|
|
#endif // _SOBJECTTAG
|