![]() |
FourKit 1469f90c
The LCE C# Server Plugin API
|
Classes | |
| interface | Cancellable |
| Interface for events that can be cancelled by a plugin. When cancelled, the server will skip the default action. More... | |
| class | Event |
| Base class for all events dispatched by the server. More... | |
| class | EventHandlerAttribute |
| Marks a method inside a Listener as an event handler. This class is not named "EventHandler" due to a naming conflict with the existing System.EventHandler. More... | |
| interface | Listener |
| Simple interface for tagging all EventListeners Register instances with FourKit.addListener(Listener). More... | |
Enumerations | |
| enum | EventPriority { Lowest = 0 , Low = 1 , Normal = 2 , High = 3 , Highest = 4 , Monitor = 5 } |
| Execution priority for event handlers. More... | |
Execution priority for event handlers.
| Enumerator | |
|---|---|
| Lowest | Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome. |
| Low | Event call is of low importance. |
| Normal | Event call is neither important nor unimportant, and may be ran normally. |
| High | Event call is of high importance. |
| Highest | Event call is critical and must have the final say in what happens to the event. |
| Monitor | Event is listened to purely for monitoring the outcome of an event. Should not modify the event. |