Sound Bakery  v0.1.0
Open-source audio middleware for games
|
Base object type for any object that can exist in the editor/database. Holds an ID and name. More...
#include <database_object.h>
Public Member Functions | |
SB_ID | getDatabaseID () const |
void | setDatabaseID (SB_ID id) |
std::string_view | getDatabaseName () const |
void | setDatabaseName (std::string_view name) |
bool | getEditorHidden () const |
void | setEditorHidden (bool hidden) |
operator SB_ID () const | |
Public Member Functions inherited from SB::Core::Object | |
template<typename T > | |
T * | tryConvertObject () noexcept |
Gets the most derived type of this object and upcasts it to T. | |
template<typename T > | |
const T * | tryConvertObject () const noexcept |
rttr::type | getType () const |
Public Member Functions inherited from SB::Core::ObjectUtilities | |
SB::Engine::System * | getSystem () const |
sc_system * | getChef () const |
ma_engine * | getMini () const |
Public Member Functions inherited from SB::Core::DatabaseObjectUtilities | |
virtual void | onLoaded () |
virtual void | onProjectLoaded () |
virtual void | onDestroy () |
Friends | |
class | Database |
Additional Inherited Members | |
Public Attributes inherited from SB::Core::ObjectUtilities | |
std::string | m_debugName |
Base object type for any object that can exist in the editor/database. Holds an ID and name.