Vendetta/API/get class

From Quasar-RCE
Jump to navigationJump to search

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.