mirror of
https://github.com/BotChain-Robots/flatbuffers.git
synced 2026-07-08 17:47:22 +02:00
36 lines
512 B
Plaintext
36 lines
512 B
Plaintext
namespace Messaging;
|
|
|
|
enum EntryType : byte {
|
|
NONE = 0,
|
|
I32,
|
|
U32,
|
|
I64,
|
|
U64,
|
|
STRING,
|
|
BLOB
|
|
}
|
|
|
|
table I32Value { value: int32; }
|
|
table U32Value { value: uint32; }
|
|
table I64Value { value: int64; }
|
|
table U64Value { value: uint64; }
|
|
table StringValue { value: string; }
|
|
table BlobValue { value: [ubyte]; }
|
|
|
|
union NvsValue {
|
|
I32Value,
|
|
U32Value,
|
|
I64Value,
|
|
U64Value,
|
|
StringValue,
|
|
BlobValue
|
|
}
|
|
|
|
table ConfigMessage {
|
|
key: string;
|
|
type: EntryType;
|
|
value: NvsValue;
|
|
}
|
|
|
|
root_type ConfigMessage;
|