summaryrefslogtreecommitdiffstats
path: root/pacman-c++/proto/pacman.proto
blob: cc4aabcb69c66d9314460d28e302af7be697e515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package ProtoBuf;

message ClientUpdate {
  required uint32 new_direction = 1;
}

message Init {
  required uint32 color = 1;
  required uint32 maxplayers = 2;
}

message MapUpdate {
  repeated uint32 field = 1 [packed=true];
  repeated uint32 round_points = 2;
  repeated uint32 game_points = 3;
  repeated uint32 eating_order = 4;
}