showConflictSelection

fun showConflictSelection(currentPlayerData: Map<String, Any>?, conflictPlayerData: Map<String, Any>?, listener: AuthV4.AuthV4SignInListener?)

충돌상태에서 유저를 선택하는 UI 를 띄운다.
It shows UI to select user in conflict state.


korean

connect 시 CONFLICT_PLAYER 에러가 발생한 경우에 호출 하여 유저 선택이 가능한 UI 를 띄운다.
충돌난 playerId 에 해당하는 유저가 인식할 수 있는 정보 (닉네임, 레벨 등) 들을 포함하여 호출 하여야 한다.
playerData 에는 "player_id" 를 키로 playerId 를 넣어주어야 한다.
그 외의 정보는 "game_data" 를 키로 Map, Object> 형태 값을 넣어 주면 된다.
"player_id" 와 "game_data" 의 키는 필수이며 변경하면 안된다.

ex) {"player_id":123, "game_data":{"Name":"CurrentPlayer", "Level":52}}

충돌난 유저로 선택 된 경우 다시 게임데이터를 불러와야 한다.


english

If a CONFLICT_PLAYER error occurs during connect() call, it shows the UI to display a user-selectable UI.
It should be called with information (nickname, level, etc.) that identifies the user corresponding to the conflicted playerId.
You should put the playerId in the "player_id" key in playerData.
For other information, add a value of type Map , Object> to the "game_data" key.
The keys name, "player_id" and "game_data" are required and should not be changed.

ex) {"player_id":123, "game_data":{"Name":"CurrentPlayer", "Level":52}}

If a conflicted user is selected, the game data corresponding to the user must be reloaded.

Parameters

currentPlayerData

Information of the user who is currently signed in.

conflictPlayerData

ConflictPlayer information received at connect() call.

listener

onAuthV4SignIn