Jump to content

What is Object* extra in Map::Load


Roland
 Share

Recommended Posts

That topic doesn't seem to talk about the Object pointer param. I believe this is much like how Josh always does the void * stuff where you can cast and put anything in, and then cast back in the callback so we can call functions of that object. For example since the library is C++ this is a way for us to pass in 'this' so that we can call a function of the class that we called this map load from to add the items to our own list if need be.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...