Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new GameConfigAssetBase. Should be done via binder. This is a base class.",
"params": [
{
"name": "obj",
"desc": "",
"lua_type": "Folder"
},
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [
{
"desc": "",
"lua_type": "GameConfigAssetBase"
}
],
"function_type": "static",
"source": {
"line": 27,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveTranslatedName",
"desc": "Observes the translated name",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string>"
}
],
"function_type": "method",
"source": {
"line": 43,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveTranslatedDescription",
"desc": "Observes the translated description",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string>"
}
],
"function_type": "method",
"source": {
"line": 55,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "GetAssetId",
"desc": "Gets the asset id",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "method",
"source": {
"line": 79,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveAssetId",
"desc": "Observes the assetId",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number>"
}
],
"function_type": "method",
"source": {
"line": 87,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "GetAssetType",
"desc": "Gets the asset type",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "string?"
}
],
"function_type": "method",
"source": {
"line": 95,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveAssetType",
"desc": "Observes the asset type",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string?>"
}
],
"function_type": "method",
"source": {
"line": 103,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveAssetKey",
"desc": "Observes the asset key",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string>"
}
],
"function_type": "method",
"source": {
"line": 111,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "GetAssetKey",
"desc": "Gets the asset key",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 119,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveState",
"desc": "Observes the asset state",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "any"
}
],
"function_type": "method",
"source": {
"line": 127,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "PromiseCloudPriceInRobux",
"desc": "Promises the cloud price in Robux",
"params": [
{
"name": "cancelToken",
"desc": "",
"lua_type": "CancelToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<string?>"
}
],
"function_type": "method",
"source": {
"line": 140,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "PromiseCloudName",
"desc": "Promises the cloud price in Robux",
"params": [
{
"name": "cancelToken",
"desc": "",
"lua_type": "CancelToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<string?>"
}
],
"function_type": "method",
"source": {
"line": 149,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "PromiseColor",
"desc": "Promises the color of the game asset (for dialog and other systems)",
"params": [
{
"name": "_cancelToken",
"desc": "",
"lua_type": "CancelToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<Color3>"
}
],
"function_type": "method",
"source": {
"line": 157,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "PromiseNameTranslationKey",
"desc": "Promises the name translation key",
"params": [
{
"name": "cancelToken",
"desc": "",
"lua_type": "CancelToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<string?>"
}
],
"function_type": "method",
"source": {
"line": 166,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveNameTranslationKey",
"desc": "Observes the name translation key.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string?>"
}
],
"function_type": "method",
"source": {
"line": 174,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveDescriptionTranslationKey",
"desc": "Observes the description translation key.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string?>"
}
],
"function_type": "method",
"source": {
"line": 182,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveCloudName",
"desc": "Observes the cloud name. See [GameConfigAssetBase.ObserveNameTranslationKey] for\ntranslation keys.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string?>"
}
],
"function_type": "method",
"source": {
"line": 191,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveCloudDescription",
"desc": "Observes the cloud name. See [GameConfigAssetBase.ObserveDescriptionTranslationKey] for\ntranslation keys.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<string?>"
}
],
"function_type": "method",
"source": {
"line": 200,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveCloudPriceInRobux",
"desc": "Observes the cost in Robux.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number?>"
}
],
"function_type": "method",
"source": {
"line": 208,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
},
{
"name": "ObserveCloudIconImageAssetId",
"desc": "",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number?>"
}
],
"function_type": "method",
"source": {
"line": 215,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
}
],
"properties": [],
"types": [],
"name": "GameConfigAssetBase",
"desc": "",
"source": {
"line": 4,
"path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetBase.lua"
}
}