LeaderboardDef Asset
The leaderboard defintion asset defines how information sent by the server about the players on the leaderboard is read. Infinity Ward added it early on Modern Warfare 2, while Treyarch took longer with Black Ops 2 the only game it appears on by them. Subtleties of the asset changed but the main concept remains the same, a header with an array of columns.
struct ColumnDef
{
const char * title;
char unknown1[0xC];
#ifdef Ghosts
char unknown15[0x4];
#endif
const char * statName;
char unknown2[0xC];
#ifdef MW3 || Ghosts
char unknown3[0x8];
#elif defined(BO2)
const char * unknownString;
char unknown3[0x8];
#endif
};
struct LeaderboardDef
{
const char * name;
int unknown1;
unsigned int columnCount;
int unknown2[2];
#ifdef BO2
int unknown3;
#endif
ColumnDef * columns;
#ifdef BO2
int unknown4[2];
#endif
};