finalize entity functions
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
f0e6dec7de
commit
c489e9e8ae
18 changed files with 523 additions and 181 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue