Bunch of updates (29.08.2025)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
-- TODO: ANNOTATE!!!!!!!!!!
|
||||
Mod = {}
|
||||
|
||||
function Mod.getInfo()
|
||||
@@ -8,6 +9,10 @@ function Mod.getInfo()
|
||||
return {name = name, path = path, require = require}
|
||||
end
|
||||
|
||||
-- Mod.
|
||||
|
||||
-- Mod Extend
|
||||
|
||||
function Mod:new()
|
||||
local mod = Mod.getInfo()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ local allowedDomains = {
|
||||
}
|
||||
|
||||
--- Adds a mod to the global space under specified domain structure
|
||||
---@param mod table The mod table containing functionality to expose -- TODO: !!!Make a Mod class!!!
|
||||
---@param mod table The mod table containing functionality to expose -- TODO: !!!Describe a Mod class to EmmyLua!!!
|
||||
---@param location string Dot-separated path within domain structure (e.g. "Items.Log")
|
||||
---@param force boolean? Whether to overwrite the target location.
|
||||
Api.addModToGlobalSpace = function(mod, location, force)
|
||||
|
||||
Reference in New Issue
Block a user