Last 5 Pages Viewed: Special:WhatLinksHere/Vendetta/API/get p... » Vendetta/API/lock class

Vendetta/API/lock class

From Quasar-RCE
Revision as of 15:13, 3 March 2025 by Wikiadmin (talk | contribs) (created lock_class)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Definition

lib.lock_class (id, version, verification_key) :: nil

Description

Prevents further changes to a mod's class table

Arguments

  1. string id: name of the mod to be activated
  2. string version: version of the mod to be activated
  3. verification_key: a key that must be provided to unlock the class and allow changes

Returns

  1. nil

Other notes

  • Added in LME 2.x (Neoloader indev)
  • If no key is provided, lib.generate_key is called. The key cannot be retrieved when this occurs.