Skip to content
Trivaxy edited this page Aug 30, 2020 · 2 revisions

Welcome to the Libvaxy wiki!

If you're reading this, I presume you are either interested in using Libvaxy or just want documentation. You've come to the right place.

Using Libvaxy

Setting up Libvaxy as a dependency for your mod is very simple. Go to your mod's build.txt file, and add the following line to it:

modReferences = Libvaxy

Done! Your mod now depends on Libvaxy. However, you still need to set up Libvaxy references in whatever IDE you are using (this is optional, but very strongly recommended so you can easily work with Libvaxy's code). This guide uses Visual Studio as an example.

First, grab the latest download from Libvaxy's releases page (The Libvaxy.dll file). Once that's done, store this file anywhere you wish - just remember where you put it. Open your mod's .csproj file in Visual studio, and rightclick Dependencies -> Assemblies -> Add assembly reference

Now click Browse.

Navigate to where you placed your Libvaxy.dll file, click it, then click Add.

And now you're done! Libvaxy should show up on your dependency list like so:

If you see that, you successfully set up Libvaxy as a reference in Visual Studio - you can now easily use anything Libvaxy has to offer.

Clone this wiki locally