First of all you need libtask.so and gs files (can be found in server package). Also you will need "gdb" for windows (or linux if you want work under linux).
gdb have two usefull functions for that task - "ptype" and "info types".
"info type" function is a search function. For example "info types GSHOP" result shows classes which contains "GSHOP" in name.
"ptype" function shows full class information (from DWARF info of ELF file). For example "ptype _GSHOP_ITEM" shows full class
Code:
(gdb) ptype _GSHOP_ITEM
type = struct _GSHOP_ITEM{
unsigned int id;
unsigned int num;
char icon[128];
struct{
unsigned int price;
unsigned int time;
}buy[1];
unsigned int props;
int main_type;
int sub_type;
int local_id;
int reputation_type;
int reputation;
unsigned short desc[512];
unsigned short szName[32];
}
A small list of files struct names:
- ATaskTempl - tasks.data dynamic data (libtask.so)
- ATaskTemplFixedData - tasks.data fixed data (libtask.so)
- elementdataman - elements.data (gs)
- _GSHOP_ITEM - gshop.data (server side only) (gs)
Try to find another structs for another files. Good luck.