-
Notifications
You must be signed in to change notification settings - Fork 0
Enum
G-Art edited this page Nov 27, 2020
·
2 revisions
Example:
elements {
enums {
ExampleEnum {
Example1
Example2
Example3
}
}
}
Enum segment dedicated to declaring Enums
Enums might be used as a type for Item attribute.
Example:
items {
Example {
description = "Example item declaration"
attributes {
exampleEnumAttribute(ExampleEnum) {
description = "Example enume type field declaration"
}
}
}
}