[SOLVED] MakeCallback


photo

Recommended Posts

image.thumb.png.45276c3dd09f3055d1e8581ec765a71d.png

Two functions with the same name exist, resulting in an error.

I can simply change the name to resolve it, but is there a way to resolve it with the MakeCallback function?

image.png.62cd4829c9ee43b559bd60744378c042.png

Link to post

Hello!

you need to specify types for MakeCallback

MakeCallback<CSeasonControl, void, IG::CIGI::CigiTerrestialControl *>(this, &CSeasonControl::processSeason));

but... maybe a better way - rename method? processPacket for example...

  • Thanks 1
Link to post
  • silent changed the title to [SOLVED] MakeCallback