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

  1. string mod_id: name of the mod being called
  2. string mod_version: version of the mod being called
  3. string function_name: name of the function to be called
  4. ... : arguments to be passed to the function being called

Returns

  1. ... : 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