| 1292 | static std::map<std::string, cata::clone_ptr<iexamine_actor>> examine_actors; |
| 1293 | |
| 1294 | static void add_actor( std::unique_ptr<iexamine_actor> ptr ) |
| 1295 | { |
| 1296 | std::string type = ptr->type; |
| 1297 | examine_actors[type] = cata::clone_ptr<iexamine_actor>( std::move( ptr ) ); |
| 1298 | } |
| 1299 | |
| 1300 | static cata::clone_ptr<iexamine_actor> iexamine_actor_from_jsobj( const JsonObject &jo ) |
| 1301 | { |
no test coverage detected