February 22nd, 2022

  • Added ability to directly add or remove players in a Player Group.
  • Required integration:
    • Update implementations of LobbyStrategy.setExtPlayerInfo with the new LobbyModel parameter.
    • Update implementations of StorePlugin.meetsRequirements with the new storeId parameter.
    • Replace references to the helper method assertProtoEquals() with JUnit’s assertEquals().

Features: #

  • Added ability to directly add or remove players in a Player Group.
    • Description: We’ve added functionality that allows directly adding or removing players in a Player Group. Responses include playerGroupIds.
    • Postman paths:
      • Social → RPC - Operator → Account → AddAccountToPlayerGroupOperatorV1
      • Social → RPC - Operator → Account → RemoveAccountFromPlayerGroupOperatorV1

Integrations: #

  • Update implementations of LobbyStrategy.setExtPlayerInfo with the new LobbyModel parameter.
    • Description: We’ve added a new parameter to the setExtPlayerInfo function in the LobbyStrategy plugin interface, so you can access data from the Lobby when setting player ext info.
    • Integration step: Make the following changes in implementations of LobbyStrategy.setExtPlayerInfo.
OriginalReplacement
setExtPlayerInfo(
  lobbyPlayer: LobbyPlayer,
  extPlayerInfo: ExtPlayerInfo
)
setExtPlayerInfo(
  lobbyPlayer: LobbyPlayer,
  extPlayerInfo: ExtPlayerInfo,
  lobbyModel: LobbyModel
)
  • Update implementations of StorePlugin.meetsRequirements with the new storeId parameter.
    • Description: We’ve added a new parameter to the meetsRequirements function in the StorePlugin plugin interface, so access data about the store when making a purchase from the store.
    • Integration step: Make the following changes in implementations of StorePlugin.meetsRequirements.
OriginalReplacement
meetsRequirements(
  storeEntry: InventoryContent.StoreEntry,
  inventoryData: InventoryData,
  progressionData: PlayerProgressionRpc.ProgressionV1Data
)
meetsRequirements(
  storeId: String,
  storeEntry: InventoryContent.StoreEntry,
  inventoryData: InventoryData,
  progressionData: PlayerProgressionRpc.ProgressionV1Data
)
  • Replace references to the helper method assertProtoEquals(), which has been removed.
    • Description: We’ve removed the assertProtoEquals() helper method. Use JUnit’s assertEquals() method instead.
    • Integration step:
      OriginalReplacement
      assertProtoEquals()JUnit’s assertEquals()