diff options
Diffstat (limited to 'pacman-c++/pacman.proto')
| -rw-r--r-- | pacman-c++/pacman.proto | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pacman-c++/pacman.proto b/pacman-c++/pacman.proto index 98478a0..51bb239 100644 --- a/pacman-c++/pacman.proto +++ b/pacman-c++/pacman.proto | |||
| @@ -4,12 +4,18 @@ message KeyPressUpdate { | |||
| 4 | required uint32 newKey = 1; | 4 | required uint32 newKey = 1; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | message Init { | ||
| 8 | required uint32 color = 1; | ||
| 9 | required uint32 maxplayers = 2; | ||
| 10 | } | ||
| 11 | |||
| 12 | message MapInit { | ||
| 13 | repeated uint32 field = 1 [packed=true]; | ||
| 14 | } | ||
| 15 | |||
| 7 | message MapUpdate { | 16 | message MapUpdate { |
| 8 | repeated uint32 field = 1 [packed=true]; | 17 | repeated uint32 field = 1 [packed=true]; |
| 9 | repeated uint32 round_points = 2; | 18 | repeated uint32 round_points = 2; |
| 10 | repeated uint32 game_points = 3; | 19 | repeated uint32 game_points = 3; |
| 11 | } | 20 | } |
| 12 | 21 | ||
| 13 | message WhoAmI { | ||
| 14 | required uint32 color = 1; | ||
| 15 | } | ||
