Author Topic: RoomsPlugin in C#  (Read 6723 times)


  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
RoomsPlugin in C#
« on: February 18, 2014, 12:36:38 PM »

Should it be possible to create a C# wrapper for the RakNet4 RoomsPlugin using Swig, or does it use C++ features which can't be translated?

I can build the normal wrapper DLL via the DLL_Swig\RakNet.sln solution, so I quickly tried adding references to the RoomsPlugin source files (and added the relevant paths to my Additional Include Directories and MakeSwig.bat.) The project successfully builds, but the corresponding *.cs files aren't generated.

I notice that there's a commented out "//#include RoomsPlugin.h" line in RakNetCSharpCPlusIncludes.i. Does this maybe imply that the plugin is tested but disabled by default? I've tried re-enabling that line, but it doesn't seem to make a difference.

Thanks for any advice!