There's currently no way to initialize a map type with values, unlike arrays. The following would be the C++ initialization for map types. Unsure if this is possible, because the compiler thinks I'm trying to initialize an array.
class SegmentDisplay { static ref map<string, int> Dictionary = { {"A", Segment.A | Segment.B | Segment.C | Segment.E | Segment.F | Segment.G}, {"B", Segment.A | Segment.B | Segment.C | Segment.D | Segment.G2 | Segment.H}, {"C", Segment.A | Segment.D | Segment.E | Segment.F} }; }