Vendetta/API/get class: Difference between revisions

From Quasar-RCE
Jump to navigationJump to search
created get_class
 
(No difference)

Latest revision as of 14:47, 3 March 2025

Definition

lib.get_class (id, version) :: table mod_class_table

Description

Retrieves a mod's stored class table

Arguments

  1. string id: name of the mod to be activated
  2. string version: version of the mod to be activated

Returns

  1. table mod_class_table: The table containing a mod's public functions

Other notes

  • Added in LME 2.x (Neoloader indev)
  • If a mod hasn't stored its functions in a class table yet, this will return an empty table.