public: \
static const char* ClassRuntimeName() { return #Type; } \
virtual const char* RuntimeName() const override { return Type::ClassRuntimeName(); } \
virtual const char* RuntimeParentName() const override { return ParentType::ClassRuntimeName(); } \
static RuntimeId ClassRuntimeId() {
return sRuntimeId; } \
virtual RuntimeId InstanceRuntimeId()
const override {
return Type::ClassRuntimeId(); } \
{ \
if (id == sRuntimeId) \
else \
{ return ParentType::QueryInterface(id); } \
} \
virtual bool Is(
RuntimeId id)
const override \
{ \
if (id == sRuntimeId) \
{ return true; } \
else \
{ return ParentType::Is(id); } \
} \
virtual bool Is(const char* name) const override \
{ \
if (strncmp(name, ClassRuntimeName(), 256) == 0) \
{ return true; } \
else \
{ return ParentType::Is(name); } \
} \
private: \
public:
uint64_t RuntimeId
Definition EngineTypes.h:67