syntax = "proto3"; import "action.proto"; option go_package = "git.reya.zone/reya/hexmap/server/websocket"; message ClientHello { uint32 version = 1; } message ClientRefresh { } message ClientAct { message ClientAction { uint32 id = 1; oneof action { CellSetColor cell_set_color = 2; UserSetActiveColor user_set_active_color = 3; } } repeated ClientAction actions = 1; } message ClientCommand { oneof command { ClientHello hello = 1; ClientRefresh refresh = 2; ClientAct act = 3; } }