gwnavruntime/blob/blobregistry.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_BlobRegistry_H
10 #define Navigation_BlobRegistry_H
22 class IBlobCategoryBuilder;
24 class IBlobTypeDescriptor;
35 void AddCategory(IBlobCategoryBuilder* categoryBuilder);
37 BlobCategory* GetCategory(
KyUInt32 categoryEnum) {
return m_categories[categoryEnum]; }
39 IBlobTypeDescriptor* GetDescriptor(
KyUInt32 blobTypeId,
bool warnIfUnknown =
true);
43 KyArray<BlobCategory*, MemStat_BaseSystem> m_categories;
53 static
void Destroy();
55 static
void AddCategory(IBlobCategoryBuilder* categoryBuilder);
56 static IBlobTypeDescriptor* GetDescriptor(
KyUInt32 blobTypeId,
bool warnIfUnknown = true);
59 static BlobNameSpace* GetNameSpace(
KyUInt32 nameSpaceEnum);
60 static BlobNameSpace* GetOrCreateNameSpace(
KyUInt32 nameSpaceEnum,
KyUInt32 categoryCount);
61 static BlobRegistry* s_instance;
65 KyArray<BlobNameSpace*, MemStat_BaseSystem> m_nameSpaces;
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36