syntax = "proto3"; option go_package = "git.reya.zone/reya/hexmap/server/state"; message HexCell { fixed32 color = 1; } message HexLine { repeated HexCell cells = 1; } message HexMap { message Layout { enum Orientation { UNKNOWN_ORIENTATION = 0; FLAT_TOP_ORIENTATION = 1; POINTY_TOP_ORIENTATION = 2; } enum LineParity { UNKNOWN_LINE_PARITY = 0; EVEN_LINE_PARITY = 1; ODD_LINE_PARITY = 2; } Orientation orientation = 1; LineParity line_parity = 2; } string xid = 1; uint32 lines = 2; uint32 cells_per_line = 3; Layout layout = 4; repeated HexLine line_cells = 5; }