billvaglienti / ProtoGen

Communications protocol generation software
MIT License
30 stars 16 forks source link

Honor parameterInterface="false" on single field packets #36

Closed KylePreuss closed 7 years ago

KylePreuss commented 7 years ago

For API consistency, it would be nice if you could tell ProtoGen to generate structs for single field packets. The "parameterInterface" attribute appears to be ignored when explicitly set to false.

billvaglienti commented 7 years ago

The intended way to achieve this would be to say 'structureInterface="true"'. However version 1.8.1 now explicitly handles the case where structureInterface or parameterInterface are set to "false".