Describe how to load a C# DLC (#3242)

Explains how to load a PCK made from a C# project.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Hugo Locurcio
2020-03-04 23:58:55 +01:00
committed by GitHub
parent 32460e7e31
commit 4dccd9fbd4

View File

@@ -120,6 +120,11 @@ file in the directory of the games executable. The PCK file contains a
subfolder). However, it is also a way of creating patches for one's own game. A
PCK file of this kind can fix the content of a previously loaded PCK.
.. note::
For a C# project, you need to build the DLL and place it in the project directory first.
Then, before loading the resource pack, you need to load its DLL as follows:
``Assembly.LoadFile("mod.dll")``
Summary
-------