Jump to content

GetMonsterMaxHP has no Member


Recommended Posts

Hello , i want implant Target Information , so i have a Problem and i cant fix it with my knowledge.
 

 

He say " GetMonsterMaxHP has no Member" 
When i do DWORD in PythonNonPlayer.h then he say i cant define it outsite of the class.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Forum Moderator

You can't define a class function inside another.

You could do it just with lambdas, struct or other gnu extensions, but that's not relevant for your case.

 

Solution:

Move function GetMonsterMaxHP:

DWORD CPythonNonPlayer::GetMonsterMaxHP(...)
{
	[...]
}

Outside of GetMatchableMobList function, should look like this:

This is the hidden content, please

 

Edited by VegaS™
  • Metin2 Dev 2
  • Love 1
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.