Plugin
Plugin
Base plugin implementation for wame plugins.
Instantiate a new plugin instance and register all event listeners and hooks.
| PARAMETER | DESCRIPTION |
|---|---|
engine
|
The engine instance responsible for running and interfacing with this plugin.
TYPE:
|
directory
|
The parent folder/directory of this plugin.
TYPE:
|
Warning
This is an internal method and should not be called externally.
engine
property
engine: Engine
The engine instance responsible for running and interfacing with this plugin.
log_critical
log_critical(log: str) -> None
Log a critical error message.
| PARAMETER | DESCRIPTION |
|---|---|
log
|
The message to log to the console.
TYPE:
|
log_debug
log_debug(log: str) -> None
Log a debug message.
| PARAMETER | DESCRIPTION |
|---|---|
log
|
The message to log to the console.
TYPE:
|