Vendetta/API/execute: Difference between revisions
From Quasar-RCE
Jump to navigationJump to search
created execute |
(No difference)
|
Latest revision as of 06:47, 3 March 2025
Definition
lib.execute (string mod_id, string mod_version, string function_name, ...) :: ...
Description
Calls a singular function from a mod's class and returns its results
Arguments
- string mod_id: name of the mod being called
- string mod_version: version of the mod being called
- string function_name: name of the function to be called
- ... : arguments to be passed to the function being called
Returns
- ... : any values returned by the called function
Other notes
- Created in LME 2.x.x (Neoloader indev)
- If the value of the class is not a function, this will return that value instead