LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
Broadcasts

Detailed Description

Fetch scheduled, localizable messages published from the LootLocker console.

Broadcasts can target all players or specific segments filtered by platform, activity, or playtime. Each message supports text, images, actions, and custom key-value pairs, with full localization and flexible publish schedules across timezones. Typical uses: patch notes, event announcements, maintenance notices, and catalog promotions.

See the LootLocker documentation.

Function Documentation

◆ ListBroadcasts()

static void LootLocker.Requests.LootLockerSDKManager.ListBroadcasts ( string[]  languages,
int  limit,
Action< LootLockerListBroadcastsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List broadcasts for this game.

Parameters
languagesArray of language codes to filter the broadcasts by. Language codes are typically ISO 639-1 codes (e.g. "en", "fr", "es") with regional variations (e.g. "en-US", "fr-FR"), but can also be custom defined by the game developer.
limitLimit the number of broadcasts returned.
onCompleteDelegate for handling the server response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListTopBroadcasts()

static void LootLocker.Requests.LootLockerSDKManager.ListTopBroadcasts ( Action< LootLockerListBroadcastsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List broadcasts for this game with default localisation and limit.

Parameters
onCompleteDelegate for handling the server response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ ListTopBroadcastsLocalized()

static void LootLocker.Requests.LootLockerSDKManager.ListTopBroadcastsLocalized ( string[]  languages,
Action< LootLockerListBroadcastsResponse onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

List broadcasts for this game with specified localisation and default limit.

Parameters
languagesArray of language codes to filter the broadcasts by. Language codes are typically ISO 639-1 codes (e.g. "en", "fr", "es") with regional variations (e.g. "en-US", "fr-FR"), but can also be custom defined by the game developer.
onCompleteDelegate for handling the server response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

Functions

static void LootLocker.Requests.LootLockerSDKManager.ListTopBroadcasts (Action< LootLockerListBroadcastsResponse > onComplete, string forPlayerWithUlid=null)
 List broadcasts for this game with default localisation and limit.
 
static void LootLocker.Requests.LootLockerSDKManager.ListTopBroadcastsLocalized (string[] languages, Action< LootLockerListBroadcastsResponse > onComplete, string forPlayerWithUlid=null)
 List broadcasts for this game with specified localisation and default limit.
 
static void LootLocker.Requests.LootLockerSDKManager.ListBroadcasts (string[] languages, int limit, Action< LootLockerListBroadcastsResponse > onComplete, string forPlayerWithUlid=null)
 List broadcasts for this game.