summaryrefslogtreecommitdiffstats
path: root/tests/inputs/nested2/nested2.proto
blob: cd6510c58c6f5084b50c0e8eff9a4e449fdcb14a (plain)
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;
}