-
Notifications
You must be signed in to change notification settings - Fork 21
/
metadataV0.h
95 lines (77 loc) · 1.82 KB
/
metadataV0.h
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
struct ArgItemV0 {
char value[STRING_SIZE];
};
struct FuncCallArgV0 {
char name[STRING_SIZE];
char type[STRING_SIZE];
};
struct EventDocumentationV0 {
char value[STRING_SIZE];
};
struct EventArgV0 {
char name[STRING_SIZE];
ArgItemV0 argItem[COLLECTION_SIZE];
EventDocumentationV0 eventDoc[COLLECTION_SIZE];
};
struct OuterEventV0 {
char name[STRING_SIZE];
EventArgV0 eventArg[COLLECTION_SIZE];
};
struct FuncTypeV0 {
// 0 - plain text, 1 - map type
unsigned int typeName;
char key[STRING_SIZE];
char value[STRING_SIZE];
};
struct FunctionCallArgV0 {
char name[STRING_SIZE];
char type[STRING_SIZE];
};
struct FunctionV0 {
char name[STRING_SIZE];
char modifier[STRING_SIZE];
FuncTypeV0 type[STRING_SIZE];
char fallback[STRING_SIZE];
char documentation[COLLECTION_SIZE][STRING_SIZE];
};
struct FunctionCallV0 {
int id;
char name[STRING_SIZE];
FunctionCallArgV0 args[COLLECTION_SIZE];
char documentation[COLLECTION_SIZE][STRING_SIZE];
};
struct CallV0 {
char name[STRING_SIZE];
FunctionCallV0 fn1[COLLECTION_SIZE];
};
struct ModuleContentV0 {
char name[STRING_SIZE];
CallV0 call;
};
struct StorageV0 {
char prefix[STRING_SIZE];
FunctionV0 function[COLLECTION_SIZE];
};
struct ModuleV0 {
char prefix[STRING_SIZE];
ModuleContentV0 module;
StorageV0 storage;
};
struct OuterEventWrapperV0 {
char name[STRING_SIZE];
unique_ptr<OuterEventV0> eventArg[COLLECTION_SIZE];
};
struct DispachCallV0 {
char name[STRING_SIZE];
char prefix[STRING_SIZE];
int index;
};
struct OuterDispachV0 {
char name[STRING_SIZE];
DispachCallV0 call[COLLECTION_SIZE];
};
struct MDV0 {
unique_ptr<OuterEventWrapperV0> oew;
unique_ptr<ModuleV0> module[COLLECTION_SIZE];
unique_ptr<OuterDispachV0> dispach;
};