100plus
共用
  • 更新日誌
  • 大廳
  • 遊戲
  • 盤面
  • 後台
專案
  • 淘金潮
  • 瘋狂辣椒
  • 香蕉猴
  • 撲克 X
  • 三隻小豬
  • 南瓜派對
  • 淘金潮-富豪版
  • 火雞快跑
  • 火爆777
  • 埃及豔后
  • 電一擊
  • 捕魚發大財
  • 野獸王國
  • Sizzling Hot Deluxe
  • MORE 野牛狂奔
共用
  • 更新日誌
  • 大廳
  • 遊戲
  • 盤面
  • 後台
專案
  • 淘金潮
  • 瘋狂辣椒
  • 香蕉猴
  • 撲克 X
  • 三隻小豬
  • 南瓜派對
  • 淘金潮-富豪版
  • 火雞快跑
  • 火爆777
  • 埃及豔后
  • 電一擊
  • 捕魚發大財
  • 野獸王國
  • Sizzling Hot Deluxe
  • MORE 野牛狂奔
  1. 遊戲
  • 遊戲
    • 取得進入遊戲資訊
      POST
    • 開始遊戲(SPIN)
      POST
    • 取得遊戲資訊
      POST
    • 取得玩家盤面資訊
      POST
  1. 遊戲

開始遊戲(SPIN)

Testing
POST
c/game/spin
Game
執行 SPIN 行為
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'c/game/spin' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
200 - Example 1
{
    "spinData": {
        "rollState": [
            1,
            0,
            1
        ],
        "currentRollState": [
            1,
            0,
            1
        ],
        "sp": {
            "showRollCount": 1,
            "showRoll": [
                [
                    6,
                    4,
                    9,
                    9,
                    9,
                    7,
                    3,
                    7,
                    9
                ]
            ],
            "showRollState": [
                [
                    1,
                    0,
                    1
                ]
            ],
            "showFixedPos": [
                [
                    0,
                    0,
                    0
                ]
            ],
            "rollScore": 0,
            "scriptIdx": 0
        },
        "external": {
            "tmpRoll": [
                6,
                4,
                9,
                9,
                9,
                7,
                3,
                7,
                9
            ],
            "tmpRollState": [
                1,
                0,
                1
            ]
        },
        "jpGame": {
            "prizeType": 0
        },
        "rand_out_data_jp": {
            "prize_type": 0,
            "const_type": 0,
            "prize_index": 0,
            "reset_on_screen_score": 1.48,
            "rtp": 300,
            "open_score": [
                855,
                602,
                475.5,
                1
            ],
            "add_on_screen_score": [
                0,
                0,
                0,
                0
            ],
            "add_on_buffer_score": [
                0,
                0,
                0,
                0
            ],
            "index": [
                0,
                0,
                0,
                0
            ]
        },
        "rand_out_data_group_jp": {
            "prize_type": 0,
            "rtp": 0,
            "add_on_screen_score": [
                0.0008,
                0.001,
                0.0012,
                0.0014
            ],
            "add_on_buffer_score": [
                0.001,
                0.0012,
                0.0014,
                0.002
            ],
            "index": [
                0,
                0,
                0,
                0
            ]
        },
        "groupJpResult": 0,
        "groupJpWin": "0.00",
        "groupJpWinScore": 0,
        "rand_out_data_plus_jp": {
            "status": [
                1
            ],
            "player_type": 1,
            "prize_type": 0,
            "add_on_screen_score": [
                0.00054
            ],
            "reduce_screen_score": [
                2574
            ],
            "index": [
                1
            ]
        },
        "lobbyJpResult": 0,
        "lobbyJpWin": "0.00",
        "lobbyJpWinScore": 0,
        "luckyInfo": {
            "isLucky": 0,
            "name": "抽红包"
        },
        "groupJpList": [
            {
                "groupJpClass": "1",
                "groupJpDefault": "500.00",
                "groupJp": "536.00",
                "groupBetLock": "5"
            },
            {
                "groupJpClass": "2",
                "groupJpDefault": "200.00",
                "groupJp": "212.00",
                "groupBetLock": "2"
            },
            {
                "groupJpClass": "3",
                "groupJpDefault": "50.00",
                "groupJp": "55.00",
                "groupBetLock": "1"
            },
            {
                "groupJpClass": "4",
                "groupJpDefault": "20.00",
                "groupJp": "38.00",
                "groupBetLock": "0.5"
            }
        ],
        "roundNo": 0,
        "lotteryTicket": [
            {
                "num": 0,
                "type": "lotteryTicket"
            }
        ],
        "extraMission": {},
        "luckyBox": 0,
        "ticketBox": 0
    },
    "player": {
        "playerId": "010327671",
        "account": "010327671",
        "symbol": "",
        "entries": "0",
        "winning": "0",
        "revert": "0",
        "revertComp": "0"
    },
    "historyResult": []
}

Request

Body Params application/json
object {0}
Examples

Responses

🟢200Success
application/json
Body
spinData
object 
SPIN 結果
optional
SPIN 結果的相關資料
rollState
array[integer]
optional
原始畫面物件落定狀態
0:物件在算獎線上 1:物件不在算獎線上
>= 3 items<= 3 items
Example:
[1,0,1]
currentRollState
array[integer]
optional
最終畫面物件落定狀態
0:物件在算獎線上 1:物件不在算獎線上
>= 3 items<= 3 items
Example:
[1,0,1]
sp
object 
optional
特殊資料輸出
external
object 
optional
外部暫存資料
jpGame
object 
optional
JP 遊戲結果輸出
rand_out_data_jp
object 
optional
JP 遊戲機率結果
rand_out_data_group_jp
object 
optional
群組 JP 機率結果
groupJpResult
integer 
optional
群組 JP 獎項
0:無, 1:JP1, 2:JP2, 3:JP3, 4:JP4
>= 0<= 4
Example:
0
groupJpWin
string 
optional
群組 JP 贏錢,單位:元
Example:
0.00
groupJpWinScore
integer <long>
optional
群組贏分,單位:分
Example:
0
rand_out_data_plus_jp
object 
optional
lobbyJpResult
integer 
optional
大廳 JP 索引值
0:沒中、1:有中
Example:
0
lobbyJpWin
string 
optional
大廳 JP 贏錢,單位:元
Example:
0.00
lobbyJpWinScore
integer <long>
optional
大廳 JP 贏分,單位:分
Example:
0
luckyInfo
object 
optional
幸運特區資訊
groupJpList
array [object {4}] 
optional
群組 JP 資訊
>= 4 items<= 4 items
Example:
[{"groupJpClass":"1","groupJpDefault":"500.00","groupJp":"536.00","groupBetLock":"5"},{"groupJpClass":"2","groupJpDefault":"200.00","groupJp":"212.00","groupBetLock":"2"},{"groupJpClass":"3","groupJpDefault":"50.00","groupJp":"55.00","groupBetLock":"1"},{"groupJpClass":"4","groupJpDefault":"20.00","groupJp":"38.00","groupBetLock":"0.5"}]
roundNo
integer <uint32>
optional
lotteryTicket
array [object {2}] 
optional
此次 Spin 達成每日任務陣列
Example:
[{"num":0,"type":"lotteryTicket"}]
extraMission
object 
optional
特別任務資訊
luckyBox
integer <int32>
optional
ticketBox
integer <int32>
optional
player
object 
optional
playerId
string 
optional
玩家ID
Example:
010327671
account
string 
optional
玩家帳號
Example:
010327671
symbol
string 
optional
Example:
entries
string 
optional
玩家可玩分數,
Tips:不可提領,單位:分
Example:
0
winning
string 
optional
玩家總贏分,
Tips:玩家可提領贏分,單位:分
Example:
0
revert
string 
optional
尚未遊玩分數,
Tips:可提領,單位:分
Example:
0
revertComp
string 
optional
店家贈送分數,
Tips:不可提領,若玩家反悔該分數則作廢,單位:分
Example:
0
historyResult
string 
optional
BET結果(By Player),若遊玩種類為SPIN則返回空陣列
Example:
[]
🟠400Bad Request
Modified at 2024-08-19 03:40:40
Previous
取得進入遊戲資訊
Next
取得遊戲資訊
Built with