syntax = "proto3"; import "coords.proto"; option go_package = "git.reya.zone/reya/hexmap/server/action"; message CellSetColorPB { fixed32 color = 1; StorageCoordinatesPB at = 2; } message UserSetActiveColorPB { fixed32 color = 1; } message ClientActionPB { oneof action { CellSetColorPB cell_set_color = 1; UserSetActiveColorPB user_set_active_color = 2; } } message ServerActionPB { oneof action { ClientActionPB client = 1; } }