[README] ExamplePlugin - Framework for writing plugins.

Have a plugin you wish to share? Post plugin releases here.
Post Reply
User avatar
atom0s
Site Admin
Posts: 29
Joined: Sun Apr 08, 2018 2:54 pm
Location: 127.0.0.1
Contact:

[README] ExamplePlugin - Framework for writing plugins.

Post by atom0s » Thu Apr 12, 2018 9:41 pm

Hello developers!

If you are interested in writing plugins for rMod, you can download the example plugin framework from here:
https://github.com/KoA-rMod/ExamplePlugin

This is a simple, bare-bones, plugin framework to help get you started.
This plugin framework was written in Visual Studio 2017 (v15.6.5) but can be compiled using any C++ compiler, such as gcc if you prefer.

Plugins can be written in any language that conforms to the requirements of the plugin framework:
- Must be able to export the required calls.
- Must be able to create and export properly, a plugin class that inherits from IPlugin like the 'ExamplePlugin' class seen in this example.
- Must be able to properly export the required plugin exports (GetInterfaceVersion, CreatePluginInfo, CreatePlugin)
- Must be able to properly export the required plugin exports using the __stdcall calling convention.

Failure to properly meet these requirements will more than likely crash rMod or have unexpected results.
Site Owner

Want to donate to say thanks? Donate via Paypal
https://www.paypal.me/atom0s
Post Reply