tableauio / tableau

A modern configuration converter based on Protobuf (proto3).
https://tableauio.github.io
MIT License
32 stars 6 forks source link

enum(confgen): check enum value alias uniqueness #97

Closed wenchy closed 1 month ago

wenchy commented 5 months ago

Problem in proto file

enum ItemType {
  ITEM_TYPE_INVALID = 0;
  ITEM_TYPE_DIAMOND = 1 [(tableau.evalue).name = "Diamond"];
  ITEM_TYPE_EQUIP = 2 [(tableau.evalue).name = "Diamond"];
  ITEM_TYPE_BOX = 3 [(tableau.evalue).name = "Box"];
}