Cogs.Core
ReflectionFunctions.h
1#pragma once
2
3#include "BridgeApi.h"
4
5COGSCORE_BRIDGE int getTypeId(const char * name);
6
7COGSCORE_BRIDGE const char * getTypeName(const int typeId);
8COGSCORE_BRIDGE int getBaseTypeId(const int typeId);
9
11COGSCORE_BRIDGE int getNumFields(const int componentTypeId);
12
14COGSCORE_BRIDGE int getNumHierarchyFields(const int componentTypeId);
15
16COGSCORE_BRIDGE int getFieldType(const int componentTypeId, const int fieldId);
17COGSCORE_BRIDGE const char * getFieldName(const int componentTypeId, const int fieldId);
18
19COGSCORE_BRIDGE int getFieldId(const int componentTypeId, const char * name);