feat: add metaGroupID to typeIDs datafile (#25)
This is a breaking change, and not backwards compatible.
This commit is contained in:
@@ -66,6 +66,8 @@ def convert_type_ids(path):
|
||||
pb2.entries[id].factionID = entry["factionID"]
|
||||
if "marketGroupID" in entry:
|
||||
pb2.entries[id].marketGroupID = entry["marketGroupID"]
|
||||
if "metaGroupID" in entry:
|
||||
pb2.entries[id].metaGroupID = entry["metaGroupID"]
|
||||
if "capacity" in entry:
|
||||
pb2.entries[id].capacity = entry["capacity"]
|
||||
if "mass" in entry:
|
||||
|
||||
@@ -30,10 +30,11 @@ message TypeIDs {
|
||||
|
||||
optional int32 factionID = 5;
|
||||
optional int32 marketGroupID = 6;
|
||||
optional float capacity = 7;
|
||||
optional float mass = 8;
|
||||
optional float radius = 9;
|
||||
optional float volume = 10;
|
||||
optional int32 metaGroupID = 7;
|
||||
optional float capacity = 8;
|
||||
optional float mass = 9;
|
||||
optional float radius = 10;
|
||||
optional float volume = 11;
|
||||
}
|
||||
|
||||
map<int32, TypeID> entries = 1;
|
||||
|
||||
Reference in New Issue
Block a user