Skip to main content

GameConfigAssetUtils

Functions

create

GameConfigAssetUtils.create(
assetTypeGameConfigAssetType,
assetKeystring,
assetIdnumber
) → Instance

Creates a new game configuration

promiseCloudDataForAssetType

GameConfigAssetUtils.promiseCloudDataForAssetType(
serviceBagServiceBag,
assetTypeGameConfigAssetType,
assetIdnumber
) → Promise<any>

Promises cloud data for a given asset type

Show raw api
{
    "functions": [
        {
            "name": "create",
            "desc": "Creates a new game configuration",
            "params": [
                {
                    "name": "binder",
                    "desc": "",
                    "lua_type": "Binder<GameConfigAssetBase>"
                },
                {
                    "name": "assetType",
                    "desc": "",
                    "lua_type": "GameConfigAssetType"
                },
                {
                    "name": "assetKey",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "assetId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 24,
                "path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetUtils.lua"
            }
        },
        {
            "name": "promiseCloudDataForAssetType",
            "desc": "Promises cloud data for a given asset type",
            "params": [
                {
                    "name": "serviceBag",
                    "desc": "",
                    "lua_type": "ServiceBag"
                },
                {
                    "name": "assetType",
                    "desc": "",
                    "lua_type": "GameConfigAssetType"
                },
                {
                    "name": "assetId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<any>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 44,
                "path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "GameConfigAssetUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/gameconfig/src/Shared/Config/Asset/GameConfigAssetUtils.lua"
    }
}