prime/include/Kyoto/SObjectTag.hpp
Henrique Gemignani Passos Lima 86fbf83a6b Match and link CPatternedInfo
Former-commit-id: 14bf190ed237bd91fd8feb080da9c77c42fe8b89
2022-10-14 18:12:16 +03:00

23 lines
421 B
C++

#ifndef _SOBJECTTAG
#define _SOBJECTTAG
#include "types.h"
#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