Here is a big header file full of defines: structs, enums, typedefs, etc., from the Cryptic Star Trek client .PDB leak.
The header is huge w/lots of info on pretty much every thing in the client, plus it's so much nicer to name stuff the same as Cryptic does rather then make your own.
I used "PDBRipper" from NTinfo.
A lot of this matches directly with the Neverwinter client since they use the same engine.
There is going to be differences here and there for things added for NW of course.
Like the "Cmd" one I reversed from IDA to find the differences (three values added at 0Ch):
Code:
struct Cmd // Size=464, Sirmabus: NW size 480
{
int access_level; // 00
char *name; // 04
char *origin; // 08
// Sirmabus: NW differences
char *source; // 0C C source code file
int sourc_line; // 10 source code line, or some other number?
char *games; // 14 ? usually NULL but sometimes "StarTrek, FightClub" or similar
//
char *categories; // 18
struct DataDesc data[12]; // 1C ** The common seen offset 20h is this data[0].type
int flags; //
char *comment; //
void (__cdecl *handler)(struct Cmd *, struct CmdContext *); //
struct DataDesc return_type; //
void (__cdecl *error_handler)(struct Cmd *,struct CmdContext *); //
WORD iNumReadArgs; //
WORD iNumLogicalArgs; //
UINT *pAutoSettingGlobalTypes; //
struct PerfInfoStaticData *perfInfo; //
int original_access_level; //
};
>> StarTrekPDBLeakHeaderExport.rar <<