#

- View the extended parameter description based on the game (mg_id)
1. Dominoes (mg_id: 1537330258004504578)
Parameter |
Required |
Type |
Explanation |
cards |
Yes |
string |
Remaining domino array, separated by commas |
Example of extended parameters for dominoes
"extras":"{"cards": "101,102"}"
2. Ludo (mg_id: 1468180338417074177)
Parameter |
Required |
Type |
Explanation |
color |
Yes |
int32 |
Player's chess color |
steps |
Yes |
int32 |
Total steps of the player's chess |
Example of extended parameters for Ludo
"extras":"{"color": 1, "steps":580}"
3. UMO (mg_id: 1472142559912517633)
Parameter |
Required |
Type |
Explanation |
cards |
Yes |
string |
Player's remaining hand card array, separated by commas |
Example of extended parameters for UMO
"extras":"{"cards": "21,310,500"}"
4. Hello Friend (mg_id: 1490944230389182466)
Parameter |
Required |
Type |
Explanation |
color |
Yes |
int32 |
Player's character color |
levels |
Yes |
string |
Pass information, array, {current passed level, total level} |
time |
Yes |
int32 |
Time to pass the level, in seconds |
flowers |
Yes |
int32 |
Number of flowers sent to the player |
poops |
Yes |
int32 |
Number of poops thrown at the player |
Example of extended parameters for Hello Friend
"extras":"{"color": 1,"levels": "1,4","time": 80,"flowers": 10,"poops": 1}"
5. Texas Holdem (mg_id: 1494212349664686081 and 1557194155570024449)
Parameter |
Required |
Type |
Explanation |
pokers |
Yes |
Array of poker objects |
Player's hand |
public_pokers |
Yes |
Array of poker objects |
Public cards |
card_type |
Yes |
int32 |
The final card type |
Parameter |
Required |
Type |
Explanation |
number |
Yes |
int32 |
Number of points on the card |
color |
Yes |
int32 |
Card color |
Example of extended parameters for Texas Holdem
"extras":"{
"pokers": [{
"number": 13,
"color": 20
}, {
"number": 14,
"color": 20
}],
"public_pokers": [{
"number": 8,
"color": 20
}, {
"number": 9,
"color": 20
}, {
"number": 10,
"color": 20
}, {
"number": 11,
"color": 20
}, {
"number": 12,
"color": 20
}],
"card_type": 10
}"
//pokers: represents the player's hand,
//public_pokers: represents the public cards.
//number: 2-13 represents the point of the poker, where 11 is J, 12 is Q, 13 is K, and 14 is A.
//color: represents the suit of the poker, where 20 is spades, 30 is hearts, 40 is clubs, and 50 is diamonds.
//card_type: represents the final card type of the player. 10 is Royal Flush, 9 is Straight Flush, 8 is Four of a Kind, 7 is Full House, 6 is Flush, 5 is Straight, 4 is Three of a Kind, 3 is Two Pairs, 2 is One Pair, 1 is High Card, and 0 is Folded.
Here is the translation of the third API document:
6. Draw and Guess (mg_id:1461228410184400899)
Parameter |
Required |
Type |
Description |
flowers |
Yes |
int32 |
The number of flowers sent to the player |
poops |
Yes |
int32 |
The number of poops thrown to the player |
Draw and Guess Extended Parameter Example
"extras":"{"flowers": 10,"poops": 1}"
7. You Say I Guess (mg_id:1468434504892882946)
Parameter |
Required |
Type |
Description |
flowers |
Yes |
int32 |
The number of flowers sent to the player |
poops |
Yes |
int32 |
The number of poops thrown to the player |
You Say I Guess Extended Parameter Example
"extras":"{"flowers": 10,"poops": 1}"
8. Bumper Blaster (mg_id:1461227817776713818)
Parameter |
Required |
Type |
Description |
kill |
Yes |
int32 |
The number of players killed by the player |
Bumper Blaster Extended Parameter Example
"extras":"{"kill": 2}"
9. Crazy Racing (mg_id:1649319572314173442)
Parameter |
Required |
Type |
Description |
bet_chip |
Yes |
int32 array |
The player's betting information, in an array |
bet_award |
Yes |
int32 |
The reward the player received |
room_id |
Yes |
string |
The room id the player belonged to when placing the bet |
Crazy Racing Extended Parameter Example
"extras":"{"bet_chip": [20,40,0],"bet_award":80,"room_id":"12321"}"
10. Slots/777 (mg_id:1641329941723648002)
Parameter |
Required |
Type |
Description |
prizes |
Yes |
object array |
The result of the slots |
win_times |
Yes |
int32 |
The multiple of the prize |
income |
Yes |
int32 |
The income of the player |
amount |
Yes |
int32 |
The amount the player bet |
Slots/777 Extended Parameter Example
"extras":"{"prizes":[{"id":2,"name ":"3 rows"},{"id":2,"name ":"3 rows"},{"id":5,"name ":"bell"}],"win_times":3.5,"income":"3500","amount":1000}"
11.Who is spy (mg_id:1599672757949743105)
Parameter |
Required |
Type |
Description |
role_id |
Yes |
int32 |
1 for civilian, 2 for undercover |
Who is spy Extended Parameter Example
"extras":"{"role_id": 1}"
12. Big Eater (mg_id: 1641330097642704898)
Parameter name |
Required |
Type |
Description |
platform |
Yes |
int32 |
Prize |
Big Eater Extended Parameter Example
"extras":"{"platform":2}"
13. Rich Man (mg_id: 1704460412809043970)
Parameter name |
Required |
Type |
Description |
color |
Yes |
int32 |
Player's character color |
Monopoly extended parameter example
"extras":"{"color": 1}"
14. Barlotte (mg_id:1759471374694019074)
Parameter name |
Required |
Type |
Description |
team_index |
Yes |
int32 |
Team index |
flowers |
Yes |
int32 |
Number of flowers sent to the player |
poops |
Yes |
int32 |
Number of buckets thrown to the player |
Monopoly extended parameter example
"extras":"{"team_index":0, "flowers": 10,"poops": 1}"
15. Gobang Standard Edition (mg_id:1676069429630722049)
Parameter name |
Required |
Type |
Description |
color |
Yes |
int32 |
Chess piece color: 1 black, 2 white |
count |
Yes |
int32 |
Number of chess pieces |
Gobang Standard Edition extended parameter example
"extras":"{"color": 1,"count": 5}"
16. American 8-Ball (mg_id: 1739914495960793090)
Parameter name |
Required |
Type |
Description |
win_reason |
No |
int32 |
Reason for winning (valid when is_win in player_result is 2): 0: Invalid value 1: I scored black 8, which means normal settlement; 2: The opponent committed 3 fouls and we won; 3: The opponent scored black 8 in the game and we won; 4: The opponent escaped and we won; 5: The game timed out and we won with more goals; 6: The opponent committed a foul in the black 8 stage and we won; 7: Forced to end the draw; |
special_event |
No |
int32 |
Number of consecutive strokes: 2-7 The highest number of consecutive strokes of the opponent |
pot_num_own |
Yes |
int32 |
Number of own goals scored |
pot_num_opp |
Yes |
int32 |
Number of opponent goals scored |
pot_num_none |
Yes |
int32 |
Number of goals scored that are not owned |
turn_num |
No |
int32 |
Number of your turns |
strike_turn_num |
No |
int32 |
Number of your strikes |
American 8-Ball extended parameter example
"extras":"{"win_reason": 1,"special_event": 4,"pot_num_own":0,"pot_num_opp":0,"pot_num_none":0,"turn_num":0,"strike_turn_num":0}"
17. Jump (mg_id:1680881367829176322)
Parameter name |
Required |
Type |
Description |
hp |
Yes |
int32 |
Remaining health |
Jump extended parameter example
"extras":"{"hp": 1}"
18. Matchpairs (mg_id:1734504890293981185 )
Parameter name |
Required |
Type |
Description |
all_clear_time |
No |
int32 |
Clearance time (seconds) |
Matchpairs extended parameter example
"extras":"{"all_clear_time": 30}"
19.Jackaroo (mg_id: 1848188045807976450 )
Parameter name |
Required |
Type |
Description |
safe_zone_num |
No |
int32 |
Number of safe zones |
strike_num |
No |
int32 |
Number of captured pieces |
struck_num |
No |
int32 |
Number of captured pieces |
turn_num |
No |
int32 |
Number of turns: how many times this user has made a move |
total_step |
No |
int32 |
Total number of forward steps |
marble_color |
No |
int32 |
Color of the piece held |
Jackraoo extended parameter example
"extras":"{\"marble_color\":\"green\",\"safe_zone_num\":0,\"strike_num\":1,\"struck_num\":0,\"turn_num\":3,\"total_step\":15}"
20. Cheater Tavern (mg_id:1866330051351728130 )
Parameter name |
Required |
Type |
Description |
image |
No |
int32 |
Selected character |
shots_num |
No |
int32 |
Number of bullets fired |
Cheater Tavern Extended Parameter Example
"extras":"{"image": 0,"shots_num":2}"