You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
537 B
31 lines
537 B
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;
|
|
}
|
|
} |