1
0
mirror of https://github.com/teverse/teverse synced 2025-08-25 15:44: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"}),
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."),
isContainer = method("", nil, {
isContainer = method("Returns true if this object can contain other objects.", nil, {
"boolean"
}),
clone = method(),
isA = method("Returns true if this object is derived from the className given.", {
className = "string"
}, {
@ -54,7 +53,8 @@ addDocs("baseClass", {
ancestor = "baseClass"
}, {"boolean"}),
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 = {
@ -64,10 +64,10 @@ addDocs("baseClass", {
oldValue = "variant"
}),
childAdded = event("Fired when a child is added", {
child = "baseClass"
child = "variant"
}),
childRemoved = event("Fired when a child is removed", {
child = "baseClass"
child = "variant"
}),
destroying = event("Fired just before an object is destroyed."),
}
@ -125,7 +125,6 @@ addDocs("block", {
}
})
addDocs("camera", {
description = "",
properties = {
@ -141,4 +140,17 @@ addDocs("camera", {
}
})
addDocs("guiBase", {
description = "",
properties = {
},
methods = {
bindSizeBreakpoint = method("", {
breakpoint = "enums.sizeBreakpoint",
properties = "table"
}),
}
})
return docs