That will map to (in .proto terms):
message templateWrapper {
repeated template items = 1;
}
message template {
optional string name = 1;
optional tempClass contour = 2;
// ...
}
message tempClass {
// ...
}
And then deserialize as a single templateWrapper
, which will have multiple items
.
Note that all of the .proto schema except for the templateWrapper
should be available via Serializer.GetProto<Template>()
.