Export local types (enums, structs) with dumpinfo
Pirulax opened this issue · comments
Pirulax commented
Is your feature request related to a problem? Please describe.
Export local types (enums, structs) with dumpinfo
Describe the solution you'd like
I'm willing to write the code for it. I'd like to add a new section to the json
, like so:
"local_types": {
"structs": [
{
"name": "CPed",
"name_demangled": "CPed",
"size": 128,
"members": [
{
"type": "ePedType",
"name": "m_nPedType",
"offset": 4,
}
]
}
],
"enums": [
{
"name": "ePedType",
"name_demangled": "ePedType",
"values": [
["PED_TYPE_PLAYER", 1]
]
}
]
}
Describe alternatives you've considered
I do have another tool to do this job, but I'd rather have it here.
Pirulax commented
Are you okay with it?
Just asking, cause I don't want to spend time on something that wont get merged.
Mikhail Paulyshka commented
Looks OK (in any way I think it will be changed during implementation)