Typical Use Case
Title Region Config Data can be used for various game configurations. A typical application is as follows: A game has three game modes, Casual Mode, Solo Rank Battle Mode, and Group Rank Battle Mode, and the matchmaking rule configuration for each mode is different and is identified by a MatchConfig Name. In this case, we can use Title Region Config Data (see below) to associate the game modes with their respective MatchConfigs:
{
"GameModeMatchConfig":
{
"CasualMode": "CasualMatchConfig",
"SoloRankBattleMode": "SoloRankBattleMatchConfig",
"GroupRankBattleMode": "GroupRankBattleMatchConfig"
}
}
When creating or resetting the MatchConfig for a game mode, you simply need to set or modify the relevant Title Region Config Data configuration item in the Web Portal. The change will take effect immediately, and you don't need to update and release a new game client version.
Implementation procedure:
In the Web Portal, configure the respective MatchConfigs (matchmaking rules and MatchConfig names) for various game modes (Casual Mode, Solo Rank Battle Mode, and Group Rank Battle Mode).
In the Web Portal, configure the Title Region Config Data configuration item to map game modes to MatchConfigs (similar to the example above).
When launching the game client or entering the game mode selection interface, get Title Region Config Data configuration information from the PGOS back-end.
When a player selects a game mode, the game gets the MatchConfig Name for the selected game mode from the Title Region Config Data configuration information. Then, it uses the MatchConfig Name to initiate matchmaking.