Object type categories for easier selection. More...
Classes | |
struct | ObjectCategory |
struct | ObjectInfo |
Get object information. More... | |
Functions | |
std::vector< ObjectCategory > | GetObjectCategories () |
Get all available object categories. | |
absl::StatusOr< std::vector< int > > | GetObjectsInCategory (const std::string &category_name) |
Get objects in a specific category. | |
absl::StatusOr< std::string > | GetObjectCategory (int object_id) |
Get category for a specific object. | |
absl::StatusOr< ObjectInfo > | GetObjectInfo (int object_id) |
Object type categories for easier selection.
std::vector< ObjectCategory > yaze::zelda3::ObjectCategories::GetObjectCategories | ( | ) |
Get all available object categories.
Definition at line 1206 of file dungeon_object_editor.cc.
Referenced by GetObjectCategory(), and GetObjectsInCategory().
absl::StatusOr< std::vector< int > > yaze::zelda3::ObjectCategories::GetObjectsInCategory | ( | const std::string & | category_name | ) |
Get objects in a specific category.
Definition at line 1218 of file dungeon_object_editor.cc.
References GetObjectCategories().
absl::StatusOr< std::string > yaze::zelda3::ObjectCategories::GetObjectCategory | ( | int | object_id | ) |
Get category for a specific object.
Definition at line 1230 of file dungeon_object_editor.cc.
References GetObjectCategories().
absl::StatusOr< ObjectInfo > yaze::zelda3::ObjectCategories::GetObjectInfo | ( | int | object_id | ) |
Definition at line 1244 of file dungeon_object_editor.cc.
References yaze::zelda3::ObjectCategories::ObjectInfo::description, yaze::zelda3::ObjectCategories::ObjectInfo::id, yaze::zelda3::ObjectCategories::ObjectInfo::is_collidable, yaze::zelda3::ObjectCategories::ObjectInfo::is_interactive, yaze::zelda3::ObjectCategories::ObjectInfo::name, yaze::zelda3::ObjectCategories::ObjectInfo::valid_layers, and yaze::zelda3::ObjectCategories::ObjectInfo::valid_sizes.