3#include "sound_bakery/core/object/object.h"
10 virtual void onLoaded() {}
11 virtual void onProjectLoaded() {}
12 virtual void onDestroy() {}
28 SB_ID getDatabaseID()
const;
29 void setDatabaseID(SB_ID
id);
31 std::string_view getDatabaseName()
const;
32 void setDatabaseName(std::string_view name);
34 bool getEditorHidden()
const {
return editorHidden; }
35 void setEditorHidden(
bool hidden) { editorHidden = hidden; }
38 operator SB_ID()
const {
return m_objectID; }
41 std::string m_objectName;
44 bool editorHidden =
false;
Definition database_object.h:8
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition database_object.h:22
Runtime lookup of objects, using their ID or name.
Definition database.h:11
Simple base Object that all Sound Bakery objects should inherit from.
Definition object.h:33