| 73 | } |
| 74 | |
| 75 | bool Result::IsSameType(uint32_t type) const |
| 76 | { |
| 77 | uint8_t const level = ftype::GetLevel(type); |
| 78 | for (uint32_t t : {m_mainType, m_matchedType}) |
| 79 | { |
| 80 | ftype::TruncValue(t, level); |
| 81 | if (t == type) |
| 82 | return true; |
| 83 | } |
| 84 | return false; |
| 85 | } |
| 86 | |
| 87 | std::string GetLocalizedTypeName(uint32_t type) |
| 88 | { |