| 111 | } |
| 112 | |
| 113 | EntityDescriptionField* EntityDescription::GetEditableField(EntityDescriptionFieldType type) { |
| 114 | for (auto& field : fields) { |
| 115 | if (field.type == type) { |
| 116 | return &field; |
| 117 | } |
| 118 | } |
| 119 | return NULL; |
| 120 | } |
| 121 | |
| 122 | void EntityDescription::AddScriptParams(EntityDescriptionFieldType type, const ScriptParamMap& val) { |
| 123 | AddType(type); |
no outgoing calls
no test coverage detected