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.
28 lines
450 B
28 lines
450 B
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;
|
|
}
|
|
} |