-
Notifications
You must be signed in to change notification settings - Fork 4
/
meta.json
77 lines (77 loc) · 2.72 KB
/
meta.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[
{
"metadata": ":add",
"doc": "Makes a system function handle add events. The function will be called once an entity has the required components.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":echoes_add",
"doc": "Disambiguation alias for @:add.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":update",
"doc": "Makes a system function handle updates. Each update, it will be called for every entity that has the required components.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":echoes_update",
"doc": "Disambiguation alias for @:update.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":remove",
"doc": "Makes a system function handle remove events. The function will be called when an entity loses one of the required components, if it previously had all of them.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":echoes_remove",
"doc": "Disambiguation alias for @:remove.",
"targets": ["TClassField"],
"links": ["./README.md#usage"]
},
{
"metadata": ":echoes_replace",
"doc": "Marks a type so that when added to an entity, if it already had a component of that type, a remove event will be dispatched first.",
"targets": ["TAbstract", "TClass", "TEnum", "TTypedef"]
},
{
"metadata": ":priority",
"doc": "Sets the priority of a system or system function. Higher priorities happen first, and negative priorities are possible. The default priority is 0.",
"params": ["Integer"],
"targets": ["TClass", "TClassField"],
"links": ["./README.md#priority"]
},
{
"metadata": ":echoes_priority",
"doc": "Disambiguation alias for @:priority.",
"params": ["Integer"],
"targets": ["TClass", "TClassField"],
"links": ["./README.md#priority"]
},
{
"metadata": ":arguments",
"doc": "One or more component types to be taken as arguments in the entity template's constructor. Requires @:build(echoes.Entity.build()).",
"params": ["Type or type check"],
"targets": ["TAbstract"],
"links": ["./README.md#entity-templates", "./README.md#type-check-syntax"]
},
{
"metadata": ":optionalArguments",
"doc": "One or more component types to be taken as optional arguments in the entity template's constructor. Requires @:build(echoes.Entity.build()).",
"params": ["Type or type check"],
"targets": ["TAbstract"],
"links": ["./README.md#entity-templates", "./README.md#type-check-syntax"]
},
{
"metadata": ":echoes_storage",
"doc": "Sets the ComponentStorage instance used to store components of this type.",
"params": ["Constructor call or singleton instance"],
"targets": ["TAbstract", "TClass", "TEnum", "TTypedef"]
}
]