syntax = "proto3"; import "action.proto"; option go_package = "git.reya.zone/reya/hexmap/server/websocket"; message ClientHelloPB { uint32 version = 1; } message ClientRefreshPB { } message ClientActPB { message IDed { uint32 id = 1; ClientActionPB action = 2; } repeated IDed actions = 1; } message ClientCommandPB { oneof command { ClientHelloPB hello = 1; ClientRefreshPB refresh = 2; ClientActPB act = 3; } }