in my project, file name as module name, like that 
file(module):battle.proto
message SyncMapReq{

}
message SyncMapResp{
    message Map map = 1;
    repeated Player player = 2;
}
message Player {
    required int32 x = 1;
    required int32 y = 2;
    required int32 speed = 3;
    required int32 hp = 4;
}
file(module): base.proto
message LoadPlayerReq{
}
message LoadPlayerResp{
    required Player player = 1;
}
message Player {
    required string name = 1;
    required int32 level = 2;
    required int32 gold = 3;
    required int32 gem = 4;
}
how can i make it work?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to