Development Kit
Plugin Development Kit is a set of predefined configurations that simplifies the development process of plugins. It can be used with any msbuild-compatible IDE, such as Visual Studio or JetBrains Rider.
Prerequisites
Section titled “Prerequisites”Void plugins are written with many modern .NET features, so you will need to ensure that you had experience with them or at least know what are you doing. Some of them include:
- Dependency Injection
- Asynchronous Programming
- Event-Driven Programming
- Stack-allocating and Memory Management
- Serialization and Deserialization of data
- Network Packets and Protocols
Installation
Section titled “Installation”- Download the latest Plugin Development Kit.
- Extract the downloaded zip file to your desired location.
- Open the *.slnx file with your IDE.
Running
Section titled “Running”Press F5 to run the project. This will start the Void Proxy with your plugin loaded.
Debugging
Section titled “Debugging”With Visual Studio, you can set breakpoints in your code and use the Debug menu to start debugging.
Compiling
Section titled “Compiling”- Build the project with your IDE.
- Take the compiled dll from the bin folder.
- Do not use and do not include any other dlls from that directory. Your dependencies will be automatically resolved by the proxy in runtime.
Dependencies
Section titled “Dependencies”Dependencies are automatically resolved in runtime in several ways and fallbacks. Including nuget packages, local dlls, and looking in runtime. NuGet dependencies will be automatically downloaded and cached in the packages directory.
Distribution
Section titled “Distribution”Share your *.dll file, without any other files from the bin directory.