Show raw api
{
"functions": [
{
"name": "Add",
"desc": "Adds the GenerateWith API to the class",
"params": [
{
"name": "class",
"desc": "",
"lua_type": "table"
},
{
"name": "staticResources",
"desc": "These resources are added to the class automatically",
"lua_type": "table"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 22,
"path": "src/generatewithmixin/src/Shared/GenerateWithMixin.lua"
}
},
{
"name": "_generateWith",
"desc": "Generates resources",
"params": [
{
"name": "class",
"desc": "Resources to add",
"lua_type": "table"
},
{
"name": "resources",
"desc": "",
"lua_type": "{ string }"
}
],
"returns": [],
"function_type": "static",
"private": true,
"source": {
"line": 35,
"path": "src/generatewithmixin/src/Shared/GenerateWithMixin.lua"
}
}
],
"properties": [],
"types": [],
"name": "GenerateWithMixin",
"desc": "Simple mixin to generate code for a class.\n\n:::warning\nUse of this class is discouraged.\n:::",
"source": {
"line": 10,
"path": "src/generatewithmixin/src/Shared/GenerateWithMixin.lua"
}
}