finalize entity functions

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2025-01-02 09:39:08 +01:00 committed by Folling
parent f0e6dec7de
commit c489e9e8ae
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
18 changed files with 523 additions and 181 deletions

View file

@ -9,16 +9,8 @@ struct IkarusEntity {
constinit static inline auto object_name = "entity";
constinit static inline auto table_name = "entities";
IkarusEntity(
struct IkarusProject * project,
int64_t id,
std::string_view name
);
IkarusEntity(struct IkarusProject * project, int64_t id);
struct IkarusProject * project;
int64_t id;
std::string name;
std::vector<std::pair<std::string_view, IkarusValue *>> values_ordered;
std::unordered_map<std::string, IkarusValue> values;
};