#

SUD

Explanation of extras field for game_settle report

Check the extension parameter description according to the game (mg_id)

1. Crazy Racing (mg_id:1649319572314173442)

Parameter Name Required Type Description
cars Yes int32 array The array of vehicles in this round
winning_car_id Yes int32 The id of the winning vehicle
dynamic_odds Yes float The dynamic odds of the winning vehicle
standard_odds Yes float The standard odds of the winning vehicle
player_count Yes int32 The number of players
Example of extension parameters for Crazy Racing
 "extras":"{"cars": [1001, 1002, 1003], "winning_car_id": 1001,"dynamic_odds":4.2,"standard_odds":2.5, "player_count": 10}"
 //The ID of the winning vehicle in this round is 1001, the dynamic odds of the winning vehicle is 4.2, and the standard odds of the winning vehicle is 2.5.

2. Digital bomb (mg_id: 1468091457989509190)

Parameter name Required Type Description
keyNum Yes int32 This round's bomb number
Digital bomb extended parameter example
"extras":"{"keyNum": 88}"
//This round's bomb number is: 88

3. Space kill (mg_id: 1559736844916183041)

Parameter name Required Type Description
finishReason Yes int32 End reason (1: All traitors are voted out, 2: Good guys complete all tasks, 3: The number of traitors is equal to the number of good guys, the traitors win, 4: Forced end)
Example of extended parameters for Space Kill
"extras":"{"finishReason": 1}"
// Reason for the end of this game: All traitors are voted out

4.WereWolf(mg_id:1472142747708284929)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:all escape;7.all logout)
Example of extended parameters for WereWolf
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

5.Short Track Speed Skating(mg_id:1468090257126719572)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:After escaping, only one person remained)
Example of extended parameters for Short Track Speed Skating
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

6.Monster Crush(mg_id:1664525565526667266)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:all escape;)
Example of extended parameters for Monster Crush
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

7.Draw Guess(mg_id:1461228410184400899)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:After escaping, only one person remained)
Example of extended parameters for Draw Guess
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

8.Minesweeper(mg_id:1472142640866779138)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:After escaping, only one person remained)
Example of extended parameters for Minesweeper
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

9.101 Okey (mg_id:1533746206861164546)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal(no card left,maximum round,all player open by pairs);2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:After escaping, only one person remained)
Example of extended parameters for 101 Okey
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

10.UMO(mg_id:1472142559912517633)

Parameter name Required Type Description
gameOverReason Yes int32 game over reason(1:normal;2:client call disband;3:server call room_clear;4:server call game_end;5:Total game time exhausted;6:all escape;)
Example of extended parameters for UMO
 "extras":"{"gameOverReason": 1}"
// game end reason: normal

results matching ""

    No results matching ""