11 #include "RNPlatform/Inc/MemoryTracking.h"
12 #ifndef _RN_MINIMAL_RTTI_H_
13 #define _RN_MINIMAL_RTTI_H_
17 #define RN_CLASS_MINIMAL_RTTI() \
18 static int StaticThisClassType(void) \
20 static int thisClassType = GetNewClassType(); \
21 return thisClassType; \
23 virtual int GetThisClassType(void) \
25 return StaticThisClassType(); \
32 #define RN_CLASS_MINIMAL_RTTI_BASE_CLASS() \
33 bool IsClassType(const int targetClassType) \
35 int thisType = GetThisClassType(); \
36 if (thisType == targetClassType) \
43 static int GetNewClassType(void) \
45 static int classTypeCount = 0; \
46 return classTypeCount++; \
52 namespace RNReplicaNet