class BO2Offsets
{
public:
struct Prestige
{
u32 Offset { 0x000000 };
char One { 0x01 },
Two { 0x02 },
Three { 0x03 },
Four { 0x04 },
Five { 0x05 },
Six { 0x06 },
Seven { 0x07 },
Eight { 0x08 },
Nine { 0x09 },
Ten { 0x0A },
MasterPrestige { 0x0B },
CheatedPrestige { 0x0C };
};
};
BO2Offsets BO2;
main.c
BO2 *BO3;
I'm creating a new element as BO2 but it's returned me an error:
error: 'BO3' was not declared in this scope
How can I resolve this ?
EDIT:
When I declare BO3 like that:
BO2Offsets *BO3;
I use BO3 like this:
BO3->Prestige->Offset
And I'm getting an error: error: invalid use of 'struct BO2Offsets::Prestige'|