lib.get_gstate
Definition:
Description:
Arguments:
Returns:
Table Definitions:
version | unique version information of the currently installed Neoloader instance |
major | LME API (also returned by get_API) |
minor | LME minor version (also returned by get_minor) |
patch | LME patch version (also returned by get_patch |
lmever | LME version string (for use in lib.compare_sem_ver) |
pathlock | A boolean defining if standard dofile/loadfile have preset paths (this occurs during the default plugin loader) |
statelock | A boolean defining if globals can be assigned normally, or if declare() is neccesary |
current_mgr | The mod_ID of the current management interface for the LME |
current_if | The mod_ID of the current interface manager for the LME if no interface manager exists, this will return vo-if |
current_notif | the mod_ID of the current notification provider for the LME. |
notifications | A list of all notification states sent to Neoloader.*** |
log | The complete data log in Neoloader.*** |
pluginlist | A list of every mod currently managed by Neoloader |
mgr_list | A list of all mods that can be set as LME management front-ends |
if_list | A list of all mods that can be set as LME interface managers |
notif_list | A list of all mods that can be set as LME notification providers |
Other notes:
As long as plugins target a compatible LME API, it should not matter what version of Neoloader is installed, or if a different utility is used instead.
From the April 2023 Beta release notes when this differentiation was defined:
This is not representative of the API for "Library Management Engines", but rather is a version specific to Neoloader, which implements the LME api. In effect, this value should be seen as inconsequential to any plugins designed for use of the LME structure. Hence why it is not synced with lib.get_API/minor/patch functions, and is a seperate value in lib.get_gstate. |