In other programming languages I can use static class methods or enums to encapsulate constants:
enum Command {
command_1 = "0x00001",
command_2 = "0x00002",
command_2 = "0x00003"
}
or
class Command {
static command_1 = "0x00001"
static command_2 = "0x00002"
static command_3 = "0x00003"
}
How is this solved in AngelScript? As far as I know there are neither enums (with non-integer values) nor static class methods.
You can use namespace: