| 24 | #include "entity_type.h" |
| 25 | |
| 26 | const char* CStringFromEntityType(EntityType type) { |
| 27 | switch (type) { |
| 28 | case _any_type: |
| 29 | return "_any_type"; |
| 30 | case _no_type: |
| 31 | return "_no_type"; |
| 32 | case _camera_type: |
| 33 | return "_camera_type"; |
| 34 | case _terrain_type: |
| 35 | return "_terrain_type"; |
| 36 | case _env_object: |
| 37 | return "_env_object"; |
| 38 | case _movement_object: |
| 39 | return "_movement_object"; |
| 40 | case _spawn_point: |
| 41 | return "_spawn_point"; |
| 42 | case _decal_object: |
| 43 | return "_decal_object"; |
| 44 | case _hotspot_object: |
| 45 | return "_hotspot_object"; |
| 46 | case _group: |
| 47 | return "_editable_entity_group"; |
| 48 | case _prefab: |
| 49 | return "_prefab"; |
| 50 | case _rigged_object: |
| 51 | return "_rigged_object"; |
| 52 | case _item_object: |
| 53 | return "_item_object"; |
| 54 | case _path_point_object: |
| 55 | return "_path_point_object"; |
| 56 | case _ambient_sound_object: |
| 57 | return "_ambient_sound_object"; |
| 58 | case _placeholder_object: |
| 59 | return "_placeholder_object"; |
| 60 | case _light_probe_object: |
| 61 | return "_light_probe_object"; |
| 62 | case _dynamic_light_object: |
| 63 | return "_dynamic_light_object"; |
| 64 | case _navmesh_hint_object: |
| 65 | return "_navmesh_hint_object"; |
| 66 | case _navmesh_region_object: |
| 67 | return "_navmesh_region_object"; |
| 68 | case _navmesh_connection_object: |
| 69 | return "_navmesh_connection_object"; |
| 70 | case _reflection_capture_object: |
| 71 | return "_reflection_capture_object"; |
| 72 | case _light_volume_object: |
| 73 | return "_light_volume_object"; |
| 74 | default: |
| 75 | return "unknown type"; |
| 76 | } |
| 77 | } |
no outgoing calls
no test coverage detected