Anonymous

Mod Creation/Mod Context API Reference: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
Line 36: Line 36:


  <syntaxhighlight lang="js" line>const devCtx = mod.getDevContext();</syntaxhighlight>
  <syntaxhighlight lang="js" line>const devCtx = mod.getDevContext();</syntaxhighlight>
== Getter Properties ==
=== name: string ===
The name of the mod.
=== namespace: string | undefined ===
The defined namespace of the mod, if provided.
=== version: string ===
The currently loaded version of the mod.


== Loading Resources ==
== Loading Resources ==
91

edits