File: nested2.proto

package info (click to toggle)
python-aristaproto 1.2%2Breally0.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,600 kB
  • sloc: python: 6,521; java: 106; xml: 84; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto3";

package nested2;

import "package.proto";

message Game {
    message Player {
        enum Race {
            human = 0;
            orc = 1;
        }
    }
}

message Test {
    Game game = 1;
    Game.Player GamePlayer = 2;
    Game.Player.Race GamePlayerRace = 3;
    equipment.Weapon Weapon = 4;
}