Vendetta/API/set class
From Quasar-RCE
Definition
lib.set_class (mod_id, mod_version, mod_class) :: nil
Description
saves the mod's class table so other mods may access it
Arguments
- string mod_id: the mod who's class is to be stored
- string mod_version: the version of the mod who's class is to be stored
- table mod_class: the table containing the mod's public functions and variables
Returns
- nil
Other notes
- Added in LME 2.x (Neoloader indev)
- this function fails if the mod isn't loaded or has been locked. if unlocked, the class is replaced, not added to.