add flatbuffers support and initial rewrite
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
5f7a62ecb7
commit
4d7bf09c4e
72 changed files with 3929 additions and 1403 deletions
26
include/ikarus/models/entity.fbs
Normal file
26
include/ikarus/models/entity.fbs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
include "value.fbs";
|
||||
include "property.fbs";
|
||||
include "blueprint.fbs";
|
||||
|
||||
namespace Ikarus;
|
||||
|
||||
table NamedValue {
|
||||
name: string (key);
|
||||
value: Ikarus.Value.Value;
|
||||
}
|
||||
|
||||
table PropertyValue {
|
||||
property_id: int64 (key);
|
||||
data: Ikarus.Value.Data;
|
||||
}
|
||||
|
||||
table Entity {
|
||||
id: int64;
|
||||
name: string;
|
||||
description: string;
|
||||
tags: [string];
|
||||
values: [NamedValue];
|
||||
property_values: [PropertyValue];
|
||||
}
|
||||
|
||||
root_type Entity;
|
||||
Loading…
Add table
Add a link
Reference in a new issue