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

Compare commits

...

2 Commits

Author SHA1 Message Date
Jay
d7b768e5fa api dump update 2020-01-11 10:44:53 +00:00
Jay
3e1024e497 some docs 2020-01-11 10:37:16 +00:00
2 changed files with 1582 additions and 1473 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,10 +38,9 @@ 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("", nil, { isContainer = method("Returns true if this object can contain other objects.", 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"
}, { }, {
@ -54,7 +53,8 @@ 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 = "baseClass" child = "variant"
}), }),
childRemoved = event("Fired when a child is removed", { childRemoved = event("Fired when a child is removed", {
child = "baseClass" child = "variant"
}), }),
destroying = event("Fired just before an object is destroyed."), destroying = event("Fired just before an object is destroyed."),
} }
@ -125,7 +125,6 @@ addDocs("block", {
} }
}) })
addDocs("camera", { addDocs("camera", {
description = "", description = "",
properties = { properties = {
@ -141,4 +140,17 @@ addDocs("camera", {
} }
}) })
addDocs("guiBase", {
description = "",
properties = {
},
methods = {
bindSizeBreakpoint = method("", {
breakpoint = "enums.sizeBreakpoint",
properties = "table"
}),
}
})
return docs return docs