1
0
mirror of https://github.com/teverse/teverse synced 2025-08-25 23:54:46 +02:00

Compare commits

..

No commits in common. "d7b768e5fa82280ff506c760de9e3c58eff7e3a4" and "239a137cdb3954c4518d4cd490f6870467063e8a" have entirely different histories.

2 changed files with 1449 additions and 1558 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,9 +38,10 @@ addDocs("baseClass", {
getDescendants = method("Returns a table of all descended objects", nil, {"table"}), getDescendants = method("Returns a table of all descended objects", nil, {"table"}),
destroy = method("Locks the object before removing it from the hierarchy. Children will also be destroyed."), destroy = method("Locks the object before removing it from the hierarchy. Children will also be destroyed."),
destroyAllChildren = method("Invokes the destroy method on each child of this instance."), destroyAllChildren = method("Invokes the destroy method on each child of this instance."),
isContainer = method("Returns true if this object can contain other objects.", nil, { isContainer = method("", nil, {
"boolean" "boolean"
}), }),
clone = method(),
isA = method("Returns true if this object is derived from the className given.", { isA = method("Returns true if this object is derived from the className given.", {
className = "string" className = "string"
}, { }, {
@ -53,8 +54,7 @@ addDocs("baseClass", {
ancestor = "baseClass" ancestor = "baseClass"
}, {"boolean"}), }, {"boolean"}),
getFullName = method("Returns a string including ancestor names", nil, {"string"}), getFullName = method("Returns a string including ancestor names", nil, {"string"}),
clone = method("Creates and returns a copy of this object", nil, {"variant"}), clone = method("Creates and returns a copy of this object", nil, {"variant"})
describe = method("", nil, {"string"})
}, },
events = { events = {
@ -64,10 +64,10 @@ addDocs("baseClass", {
oldValue = "variant" oldValue = "variant"
}), }),
childAdded = event("Fired when a child is added", { childAdded = event("Fired when a child is added", {
child = "variant" child = "baseClass"
}), }),
childRemoved = event("Fired when a child is removed", { childRemoved = event("Fired when a child is removed", {
child = "variant" child = "baseClass"
}), }),
destroying = event("Fired just before an object is destroyed."), destroying = event("Fired just before an object is destroyed."),
} }
@ -125,6 +125,7 @@ addDocs("block", {
} }
}) })
addDocs("camera", { addDocs("camera", {
description = "", description = "",
properties = { properties = {
@ -140,17 +141,4 @@ addDocs("camera", {
} }
}) })
addDocs("guiBase", {
description = "",
properties = {
},
methods = {
bindSizeBreakpoint = method("", {
breakpoint = "enums.sizeBreakpoint",
properties = "table"
}),
}
})
return docs return docs