In C #, we have namespaces in .proto that we get from protobuf-net, we don't get any namespaces. Therefore, the question arises how to make protobuf-net generate (and use internally) .proto files with the names packs / packages.
An example, when we analyzed our entire project to make .proto files for connecting a C ++ application to our C # application, we got tons
enum AnimationCode { None = 0; Idle = 1;
and
enum SessionCode { None = 0;
So, when we provided this combined project .proto file for the proton compiler, we got tons
The enumeration type "SessionStateCode" does not matter with the name None.
and
Note that enumeration values ββuse C ++ rules to determine scope, which means that enumeration values ββare siblings of their type, not children.
and no C ++ code.
The point was to make the encoded C # message be at least readable from C ++
source share