| 78 | #endif |
| 79 | |
| 80 | bool ScriptingTypeHandle::IsSubclassOf(ScriptingTypeHandle c) const |
| 81 | { |
| 82 | auto type = *this; |
| 83 | if (type == c) |
| 84 | return false; |
| 85 | for (; type; type = type.GetType().GetBaseType()) |
| 86 | { |
| 87 | if (type == c) |
| 88 | return true; |
| 89 | } |
| 90 | return false; |
| 91 | } |
| 92 | |
| 93 | bool ScriptingTypeHandle::IsAssignableFrom(ScriptingTypeHandle c) const |
| 94 | { |
no test coverage detected