mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 15:26:08 +00:00
20
include/Kyoto/SObjectTag.hpp
Normal file
20
include/Kyoto/SObjectTag.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __SOBJECTTAG_HPP__
|
||||
#define __SOBJECTTAG_HPP__
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user