Jump to content

Recommended Posts

Hello everyone, can you help me? I guess the declaration on item.h is missing, but I have no idea what to write.
Thank you very much

https://metin2.download/picture/2e8YK5615t9w5ePugNeHKjSPMl6wjaxl/.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/29658-error-no-member-named-setccreatetime-in-citem/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Contributor

To declare a method you just have to add its return type and name in the corresponding class body.

ex:

class CItem {

public: // access

void someMethod(); // your method's declaration

}

 

Defining it:

void CItem::someMethod()

{

// do work

}

 

Also, you should probably try using Google before asking about shit like this.

Edited by Amun
More details and a bit of hate <3
3 hours ago, Amun said:

To declare a method you just have to add its return type and name in the corresponding class body.

ex:

class CItem {

public: // access

void someMethod(); // your method's declaration

}

 

Defining it:

void CItem::someMethod()

{

// do work

}

 

Also, you should probably try using Google before asking about shit like this.

I tried to do it myself and google it, if I wrote here there is a reason.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.