#

SUD

GameSettingReqData
Parameter Required Type Description
room_id Yes string Room ID
rule Yes object Game settings
Game Configuration
Game name name Configuration Introduction
Bump Me the Strongest bumper {"userInfos": [{"uid": "uid1","mass": 1, "trail": 1,}]} "mass": body size, default value 10, range 10 20 30 40 50, trail model 1 2 3 4
Flying Chess ludo { "mode":0, "chessNum":2, "item":0, "isReroll":0 } mode: default competition system, 0 fast, 1 classic, 2 is competitive;; chessNum: default number of chess pieces, 2 corresponds to 2 chess pieces, 4 corresponds to 4 chess pieces; item: default props, 1 yes, 0 no; isReroll: whether to reroll, 1 yes, 0 no
Taiwan Mahjong twmahjong {"roundTimeDefault":1,"bottomScoreDefault":1 ,"multiplesDefault":1}
Numberbomb numberbomb { "keyNum":45, "range":[1,99], "save":0} keyNum: the final answer number, range: the initial range, save: whether to save, 0 does not save, that is, each setting is only effective once, if there is no setting next time, it will be restored to the default, 1 is to save, that is, each setting will continue to take effect until the next change
Who is the undercover whoisspy {"mode": 0} mode: game mode, 0 means classic mode, 1 means explosive word mode
Monopoly {"defaultRounds": 0, "defaultAsset": 2, "trade": 1} defaultRounds: round number option index, range is 0~2; defaultAsset: winning asset option index, range is 0~2; trade: whether to open trading 0 is not open, 1 is open
Balot baloot {"mode": 0} mode: game mode, 0 is classic mode, 1 is fast mode
matchpairs matchpairs {"board_id": 1} board_id: board id (0~4), if no id is passed, a random map
Find Find Special Offensive Team Spotthedifference {"maxTurn":15,"turnTime":30,"modeSelected":{"Flip":true,"Classic":true,"Shuffle":true,"Spotlight":true}} True means enable; Classic: classic mode, Flase indicates disable, true means enable; shuffle: disorder mode, Flase means disable, true means enable; spotlight: spotlight mode, True means prohibit, true indicates enlightenment.
Request Example
{
    "event": "game_setting",
    "mg_id": "mg_id_1",
    "timestamp": "1657770493152",
    "data": {
        "room_id": "roomId_1",
        "rule": {
            "mode": 0,
            "chessNum": 2,
            "item": 0
        }
    }
}

results matching ""

    No results matching ""