Skip to content

Quickstart

Introduction

This showcases some example usage of Library Loader

Usage

In order for Library Loader to find those native libraries that you want to work with, simply do these steps:

  1. Put the native library(ies) into a folder called either "x86" or "x86_64" depending on the arch you use (x86_64 is default)

Example Path: H:\SteamLibrary\steamapps\workshop\content\312520\3294324230\plugins\x86_64\MyCoolNativeLib.dll Where 3294324230 is our mod-id, and plugins is the plugins folder we code-mod users know.

Thats it. Its that easy.

API

Library Loader also features a couple of simple API calls to make managing different directories easier:

// Add path to library search paths
public bool AddLibrarySearchPath(string path)

// Add some paths to library search paths
public bool AddLibrarySearchPaths(string[] paths)

// Remove a path from the library search path
public bool RemoveLibrarySearchPath(string path)