• ManagedWrapper
    37 replies, posted
[QUOTE=cartman300;43622058][URL="http://viasfora.com/"]Viasfora[/URL][/QUOTE] Woo thanks, makes code so much easier to read
Did anybody do anything with this yet? Any new fancy requests?
[QUOTE=cartman300;43705431]Did anybody do anything with this yet? Any new fancy requests?[/QUOTE] Still working on figureing out slimDX, as sharpDX uses its own runtime I couldn't use it without requiring people to download the redistributable for it, while slimDX uses the directx redist
Added latest builds to github, no more puush links. [url]https://github.com/cartman300/GMOD-NET-API/tree/master/bin[/url]
[img]http://puu.sh/6G4ex.gif[/img] [B]Changelog[/B] • GLua::CreateClassLib now returns list of GFunc This allows you to store it in a static variable like in Cartmanium.cs example so the passed functions do not get garbage collected in case GMod stops responding or if you call the functions in a while(true)do end loop [editline]1st February 2014[/editline] [code] public static int TEST(lua_State* L) { Calls++; System.Console.WriteLine("Call: {0}", Calls); return 0; } [/code] [editline]1st February 2014[/editline] [URL="https://github.com/cartman300/GMOD-N...ree/master/bin"]Latest binaries[/URL] [editline]1st February 2014[/editline] *[URL="https://github.com/cartman300/GMOD-NET-API/tree/master/bin"]Latest binaries[/URL] *Can't edit previous post
This is awesome! But I'm kind of a noob to C# an example on how to create a lua function would be awesome.
[QUOTE=Ducky3426;43750870]This is awesome! But I'm kind of a noob to C# an example on how to create a lua function would be awesome.[/QUOTE] Quote from OP [QUOTE=Me] [B]Any examples?[/B] • Yes, you can find a [URL="https://github.com/cartman300/GMOD-NET-API/tree/master/gmsv_cartmanium_win32/gmsv_cartmanium_win32"]module example[/URL] on GitHub [/QUOTE] [editline]1st February 2014[/editline] If you don't know how to get arguments or push arguments then just google.
Didn't post here in a while, there have been a [URL="https://github.com/cartman300/GMOD-NET-API/commits/master"]lot changes[/URL] Few bugfixes, a readme update, some functions for rendering stuff to the screen and for steamworks manipulation (if you hate the notification overlay being top_right, you can change it to any other corner). I'm experimenting with source mainly. Any requests welcome. [editline]13th February 2014[/editline] [URL="https://github.com/cartman300/GMOD-NET-API/blob/master/bin/ManagedWrapper.dll"]ManagedWrapper.dll[/URL]
Sorry, you need to Log In to post a reply to this thread.