| 148 | }; |
| 149 | |
| 150 | PropDesc* GetPropertyDesc(dmhash_t property_hash) |
| 151 | { |
| 152 | int n_props = sizeof(g_Properties) / sizeof(g_Properties[0]); |
| 153 | for (int i = 0; i < n_props; ++i) { |
| 154 | PropDesc* pd = &g_Properties[i]; |
| 155 | if (pd->m_Hash == property_hash) { |
| 156 | return pd; |
| 157 | } |
| 158 | } |
| 159 | return 0; |
| 160 | } |
| 161 | |
| 162 | const char* GetResultLiteral(Result result) |
| 163 | { |
no outgoing calls
no test coverage detected