feat: add "IconID" to MarketGroup datafile (#27)

This commit is contained in:
Patric Stout
2023-12-03 14:53:26 +01:00
committed by GitHub
parent 294982b777
commit 87a79b2a62
2 changed files with 3 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ def convert_market_groups(path):
if "parentGroupID" in entry:
pb2.entries[id].parentGroupID = entry["parentGroupID"]
if "iconID" in entry:
pb2.entries[id].iconID = entry["iconID"]
with open("dist/sde/marketGroups.pb2", "wb") as fp:
fp.write(pb2.SerializeToString())

View File

@@ -55,6 +55,7 @@ message MarketGroups {
required string name = 1;
optional int32 parentGroupID = 2;
optional int32 iconID = 3;
}
map<int32, MarketGroup> entries = 1;