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.
◆ ListBroadcasts()
| static void LootLocker.Requests.LootLockerSDKManager.ListBroadcasts |
( |
string[] |
languages, |
|
|
int |
limit, |
|
|
Action< LootLockerListBroadcastsResponse > |
onComplete, |
|
|
string |
forPlayerWithUlid = null |
|
) |
| |
|
inlinestatic |
List broadcasts for this game.
- Parameters
-
| languages | Array 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. |
| limit | Limit the number of broadcasts returned. |
| onComplete | Delegate for handling the server response |
| forPlayerWithUlid | Optional : 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
-
| onComplete | Delegate for handling the server response |
| forPlayerWithUlid | Optional : 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
-
| languages | Array 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. |
| onComplete | Delegate for handling the server response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |