mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
Updated Plugins (markdown)
@@ -11,7 +11,7 @@ One or more plugins can be loaded to the /user/ProgramX/plugins as .dlls or .cpl
|
||||
|
||||
## What Must be Implemented in a Plugin for it to Work?
|
||||
All plugin assemblies must contain a static method called LoadPlugin():
|
||||
`
|
||||
``` csharp
|
||||
public class SomeDevice : Device , IBridge //IBridge only needs to be implemented if
|
||||
{
|
||||
// This string is used to define the minimum version of the Essentials Framework required for this plugin
|
||||
@@ -37,7 +37,7 @@ public class SomeDevice : Device , IBridge //IBridge only needs to be implement
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
`
|
||||
`11
|
||||
|
||||
## SIMPL Bridging
|
||||
Optionally, if your plugin device needs to be able to bridge to a SIMPL program over EISC, and there isn't already an existing bridge class in the Essentials Framework, you can write a new bridge class in your plugin. However, in order for the Essentials Application to be able to us that new bridge, the bridge must implement the IBridge interface with the required LinkToApi() Extension method.
|
||||
|
||||
Reference in New Issue
Block a user