Vendetta/API/pass ini identifier
From Quasar-RCE
Definition
lib.pass_ini_identifier (string id, string version) :: string output_id, string output_version
Description
Converts an INI path file to an ID/version pair if it has been registered
Arguments
- id: string path to INI file, or string plugin ID
- version: string version number
Returns
- output_id: ID of the plugin if found
- output_version: Version of the plugin if found
Other notes
- Added in LME 3.10.x
- This function is used internally by Neoloader for any function that accepts an ID/version pair. If the ID/ver is passed, it gets passed back. However, this allows modders to instead provide their INI file paths to any function instead of the ID/version stated (leave 'version' as nil). these paths have been stored as keys to the ID/ver pair required. Effectively, it allows modders to shortcut storing the ID/version in the plugin itself and using it for every LME call.