yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::ObjectCategories Namespace Reference

Object type categories for easier selection. More...

Classes

struct  ObjectCategory
 
struct  ObjectInfo
 Get object information. More...
 

Functions

std::vector< ObjectCategoryGetObjectCategories ()
 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< ObjectInfoGetObjectInfo (int object_id)
 

Detailed Description

Object type categories for easier selection.

Function Documentation

◆ GetObjectCategories()

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().

◆ 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().

Here is the call graph for this function:

◆ GetObjectCategory()

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().

Here is the call graph for this function:

◆ GetObjectInfo()