Interface for user-implemented language modules.
More...
#include <language_module.hpp>
Interface for user-implemented language modules.
The ILanguageModule interface defines methods that should be implemented by user-written language modules.
Definition at line 81 of file language_module.hpp.
◆ Initialize()
Initialize the language module.
- Parameters
-
provider | Weak pointer to the Plugify provider. |
module | Handle to the language module being initialized. |
- Returns
- Result of the initialization, either InitResultData or ErrorData.
◆ IsDebugBuild()
virtual bool plugify::ILanguageModule::IsDebugBuild |
( |
| ) |
|
|
pure virtual |
Determine if language module is build with debugging mode.
- Returns
- True if the assembly is build with debugging, false otherwise.
◆ OnMethodExport()
virtual void plugify::ILanguageModule::OnMethodExport |
( |
PluginHandle |
plugin | ) |
|
|
pure virtual |
Handle method export event.
- Parameters
-
plugin | Handle to the plugin exporting a method. |
◆ OnPluginEnd()
virtual void plugify::ILanguageModule::OnPluginEnd |
( |
PluginHandle |
plugin | ) |
|
|
pure virtual |
Handle plugin end event.
- Parameters
-
plugin | Handle to the ended plugin. |
◆ OnPluginLoad()
virtual LoadResult plugify::ILanguageModule::OnPluginLoad |
( |
PluginHandle |
plugin | ) |
|
|
pure virtual |
◆ OnPluginStart()
virtual void plugify::ILanguageModule::OnPluginStart |
( |
PluginHandle |
plugin | ) |
|
|
pure virtual |
Handle plugin start event.
- Parameters
-
plugin | Handle to the started plugin. |
◆ OnPluginUpdate()
Handle plugin update event.
- Parameters
-
plugin | Handle to the started plugin. |
dt | The time delta since the last update. |
◆ OnUpdate()
virtual void plugify::ILanguageModule::OnUpdate |
( |
DateTime |
dt | ) |
|
|
pure virtual |
Handle actions to be performed on each frame.
- Parameters
-
dt | The time delta since the last update. |
The documentation for this class was generated from the following file: