Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - FeralChicken

Pages: [1]
SWIG and C# support / 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!

Pages: [1]