Hi everyone. I was adding the system Info Dungeons in my source file but when building I got an errors which
'INFO_DUNGEONS' : undeclared identifier and
'std::vector':'INFO_DUNGEONS' is not valid template type argument for parameter '_Ty'.
Looking into by right clicking and going into the peek definition it says that it really declared into the WndInfoDungeonList.h as a Struct
#ifdef __INFO_DUNGEONS
struct INFO_DUNGEONS
{
DWORD monsterID;
bool bIsKill;
int nPhase;
};
#endif
As I understand the INFO_DUNGEONS struct is being used as a parameters in a function of
void AddDungeonList ( vector<INFO_DUNGEONS> vMonsterID, int nPlayer, BOOL bDelete, int nStats, DWORD worldID );
And what is odd is that the IDE don't say any problem/errors not until you build it. Here's the image where problem occurs.
https://i.imgur.com/08sDYcG.png