summaryrefslogtreecommitdiffstats
path: root/pacman-c++/proto/pacman.proto
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/proto/pacman.proto')
-rw-r--r--pacman-c++/proto/pacman.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/pacman-c++/proto/pacman.proto b/pacman-c++/proto/pacman.proto
new file mode 100644
index 0000000..8e088e8
--- /dev/null
+++ b/pacman-c++/proto/pacman.proto
@@ -0,0 +1,18 @@
1package ProtoBuf;
2
3message KeyPressUpdate {
4 required uint32 newKey = 1;
5}
6
7message Init {
8 required uint32 color = 1;
9 required uint32 maxplayers = 2;
10}
11
12message MapUpdate {
13 repeated uint32 field = 1 [packed=true];
14 repeated uint32 round_points = 2;
15 repeated uint32 game_points = 3;
16 repeated uint32 eating_order = 4;
17}
18