Show raw api
{
"functions": [
{
"name": "new",
"desc": "Creates a new adornee data entry",
"params": [
{
"name": "interface",
"desc": "",
"lua_type": "string | (value: any) -> (boolean, string?)"
},
{
"name": "createValueObject",
"desc": "",
"lua_type": "(adornee: Instance) -> ValueObject<T>"
},
{
"name": "defaultValue",
"desc": "",
"lua_type": "T?"
}
],
"returns": [
{
"desc": "",
"lua_type": "AdorneeDataEntry<T>"
}
],
"function_type": "static",
"source": {
"line": 26,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "isAdorneeDataEntry",
"desc": "Returns true if the implementation is an AdorneeDataEntry",
"params": [
{
"name": "data",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 67,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "Create",
"desc": "Creates a value object for the given adornee",
"params": [
{
"name": "adornee",
"desc": "",
"lua_type": "Instance"
}
],
"returns": [
{
"desc": "",
"lua_type": "ValueObject<T>"
}
],
"function_type": "method",
"source": {
"line": 77,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "Observe",
"desc": "Observes the current value for the adornee",
"params": [
{
"name": "adornee",
"desc": "",
"lua_type": "Instance"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<T>"
}
],
"function_type": "method",
"source": {
"line": 89,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "Get",
"desc": "Gets the value for the adornee",
"params": [
{
"name": "adornee",
"desc": "",
"lua_type": "Instance"
}
],
"returns": [
{
"desc": "",
"lua_type": "T"
}
],
"function_type": "method",
"source": {
"line": 102,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "Set",
"desc": "Sets the value for the adornee",
"params": [
{
"name": "adornee",
"desc": "",
"lua_type": "Instance"
},
{
"name": "value",
"desc": "",
"lua_type": "T"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 116,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "GetDefaultValue",
"desc": "Gets the default value",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "T?"
}
],
"function_type": "method",
"source": {
"line": 129,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "GetStrictInterface",
"desc": "Gets the estrict interface for the entry",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "(value: any) -> (boolean, string)"
}
],
"function_type": "method",
"source": {
"line": 138,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
},
{
"name": "IsValid",
"desc": "Returns true if the item is valid.",
"params": [
{
"name": "value",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "(boolean, string)"
}
],
"function_type": "method",
"source": {
"line": 148,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
}
],
"properties": [],
"types": [],
"name": "AdorneeDataEntry",
"desc": "Declaration for the adornee data value",
"source": {
"line": 6,
"path": "src/adorneedata/src/Shared/AdorneeDataEntry.lua"
}
}