Show raw api
{
"functions": [
{
"name": "Init",
"desc": "Initializes the setting service. Should be done via ServiceBag.",
"params": [
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 23,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "GetLocalPlayerSettings",
"desc": "Gets the local player settings",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "PlayerSettingsClient | nil"
}
],
"function_type": "method",
"source": {
"line": 46,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "ObserveLocalPlayerSettingsBrio",
"desc": "Observes the local player settings in a brio",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<Brio<PlayerSettingsClient>>"
}
],
"function_type": "method",
"source": {
"line": 55,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "ObserveLocalPlayerSettings",
"desc": "Observes the local player settings",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<PlayerSettingsClient | nil>"
}
],
"function_type": "method",
"source": {
"line": 64,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "PromiseLocalPlayerSettings",
"desc": "Promises the local player settings",
"params": [
{
"name": "cancelToken",
"desc": "",
"lua_type": "CancellationToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<PlayerSettingsClient>"
}
],
"function_type": "method",
"source": {
"line": 74,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "ObservePlayerSettings",
"desc": "Observes the player settings",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<PlayerSettingsClient | nil>"
}
],
"function_type": "method",
"source": {
"line": 84,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "ObservePlayerSettingsBrio",
"desc": "Observes the player settings in a brio",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<Brio<PlayerSettingsClient>>"
}
],
"function_type": "method",
"source": {
"line": 96,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "GetPlayerSettings",
"desc": "Gets a player's settings",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
}
],
"returns": [
{
"desc": "",
"lua_type": "PlayerSettingsClient | nil"
}
],
"function_type": "method",
"source": {
"line": 108,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
},
{
"name": "PromisePlayerSettings",
"desc": "Promises the player's settings",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
},
{
"name": "cancelToken",
"desc": "",
"lua_type": "CancellationToken"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<PlayerSettingsClient>"
}
],
"function_type": "method",
"source": {
"line": 121,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
}
],
"properties": [],
"types": [],
"name": "SettingsServiceClient",
"desc": "Provides access to settings on the client. See [SettingDefinition] which should\nregister settings on the server. See [SettingsService] for server component.",
"realm": [
"Client"
],
"source": {
"line": 8,
"path": "src/settings/src/Client/SettingsServiceClient.lua"
}
}