From df58a7e6901836b374f3437549b8d92061c287d3 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 6 Oct 2022 02:27:07 -0700 Subject: [PATCH] Add missing include Former-commit-id: a37c4fde2e21ebdcdca3952eda66c688f67563f7 --- include/Kyoto/SObjectTag.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/Kyoto/SObjectTag.hpp diff --git a/include/Kyoto/SObjectTag.hpp b/include/Kyoto/SObjectTag.hpp new file mode 100644 index 00000000..5967f3fe --- /dev/null +++ b/include/Kyoto/SObjectTag.hpp @@ -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