Show raw api
{
"functions": [
{
"name": "Init",
"desc": "Initializes the configuration service. Should be done via [ServiceBag].",
"params": [
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 25,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "Start",
"desc": "Starts the configuration service. Should be done via [ServiceBag].",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 50,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddBadge",
"desc": "Adds a new badge with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the badge",
"lua_type": "string"
},
{
"name": "badgeId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 60,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddProduct",
"desc": "Adds a new product with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the product",
"lua_type": "string"
},
{
"name": "productId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 69,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddPass",
"desc": "Adds a new pass with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the pass",
"lua_type": "string"
},
{
"name": "passId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 78,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddPlace",
"desc": "Adds a new place with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the place",
"lua_type": "string"
},
{
"name": "placeId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 87,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddAsset",
"desc": "Adds a new asset with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the asset",
"lua_type": "string"
},
{
"name": "assetId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 96,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddSubscription",
"desc": "Adds a new asset with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the asset",
"lua_type": "string"
},
{
"name": "subscriptionId",
"desc": "Cloud id",
"lua_type": "string"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 105,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddBundle",
"desc": "Adds a new bundle with the key configured to the `assetKey`",
"params": [
{
"name": "assetKey",
"desc": "Key name to use for the bundle",
"lua_type": "string"
},
{
"name": "bundleId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 114,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "AddTypedAsset",
"desc": "Adds a new asset with the specified type",
"params": [
{
"name": "assetType",
"desc": "",
"lua_type": "GameConfigAssetType"
},
{
"name": "assetKey",
"desc": "Key name to use for the bundle",
"lua_type": "string"
},
{
"name": "assetId",
"desc": "Cloud id",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 125,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "GetConfigPicker",
"desc": "Gets the current config picker",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "GameConfigPicker"
}
],
"function_type": "method",
"source": {
"line": 143,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "GetPreferredParent",
"desc": "Returns the preferred parent for the configuration service",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Instance"
}
],
"function_type": "method",
"source": {
"line": 152,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
},
{
"name": "Destroy",
"desc": "Cleans up the configuration service. Should be done via [ServiceBag].",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 173,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
}
],
"properties": [],
"types": [],
"name": "GameConfigService",
"desc": "",
"source": {
"line": 4,
"path": "src/gameconfig/src/Server/GameConfigService.lua"
}
}