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

開始遊戲(SPIN)

Developing
POST
c/game/spin
Game
執行 SPIN 行為
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'c/game/spin?token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "visibilityChange": "0",
    "bet": "250",
    "currencyRatio": "100",
    "lineBetIndex": "2",
    "lineBetMulti": "2"
}'
Response Response Example
200 - Success
{
    "spinData": {
        "transmit": {
            "type": 1,
            "multi": 2,
            "hitCount": 14,
            "hitPrizeNumber": [
                20,
                16,
                17,
                13,
                14,
                11,
                12,
                9,
                8,
                6,
                18,
                19,
                4,
                5,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "hitPrizeScore": [
                100,
                500,
                400,
                800,
                700,
                1500,
                1000,
                2500,
                3000,
                5000,
                300,
                200,
                20000,
                12500,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "playerBet": 250,
            "playerWin": 48500
        },
        "type": 1,
        "multi": 2,
        "hitCount": 14,
        "hitPosIdx": [
            19,
            15,
            16,
            12,
            13,
            10,
            11,
            8,
            7,
            5,
            17,
            18,
            3,
            4,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        "hitPrizeIdx": [
            19,
            15,
            16,
            12,
            13,
            10,
            11,
            8,
            7,
            5,
            17,
            18,
            3,
            4,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        "hitPrizeScore": [
            100,
            500,
            400,
            800,
            700,
            1500,
            1000,
            2500,
            3000,
            5000,
            300,
            200,
            20000,
            12500,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        "prizePosIdx": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15,
            16,
            17,
            18,
            19
        ],
        "posPrizeIdx": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15,
            16,
            17,
            18,
            19
        ],
        "posPrizeScore": [
            50000,
            25000,
            12500,
            10000,
            6250,
            2500,
            2000,
            1500,
            1250,
            1000,
            750,
            500,
            400,
            350,
            300,
            250,
            200,
            150,
            100,
            50
        ],
        "curPosPrizeScore": [
            100000,
            50000,
            25000,
            20000,
            12500,
            5000,
            4000,
            3000,
            2500,
            2000,
            1500,
            1000,
            800,
            700,
            600,
            500,
            400,
            300,
            200,
            100
        ],
        "playerBet": 250,
        "playerWin": 48500,
        "external": {
            "posPrizeIdx": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9,
                10,
                11,
                12,
                13,
                14,
                15,
                16,
                17,
                18,
                19
            ]
        },
        "time": 1735607995029,
        "lineBetIndex": 2,
        "totalWin": 48500,
        "allTotalWin": 48500,
        "rand_out_data_group_jp": {
            "prize_type": 0,
            "rtp": 100,
            "add_on_screen_score": [
                0.002,
                0.0025,
                0.0029999999999999996,
                0.0035
            ],
            "add_on_buffer_score": [
                0.0025,
                0.0029999999999999996,
                0.0035,
                0.005
            ],
            "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.00135
            ],
            "reduce_screen_score": [
                0
            ],
            "index": [
                0
            ]
        },
        "lobbyJpResult": 0,
        "lobbyJpWin": "0.00",
        "lobbyJpWinScore": 0,
        "luckyInfo": {
            "isLucky": 0,
            "name": "LUCKY DRAW"
        },
        "roundNo": 1,
        "lotteryTicket": [
            {
                "num": 0,
                "type": "lotteryTicket"
            }
        ],
        "extraMission": {},
        "luckyBox": 0,
        "ticketBox": 0
    },
    "player": {
        "playerId": "01234567891",
        "account": "01234567891",
        "curreny": "MYR",
        "symbol": "",
        "balance": "8888550",
        "entries": "0",
        "winning": "0",
        "revert": "0",
        "revertComp": "0"
    },
    "historyResult": "[]",
    "status": "success"
}

Request

Query Params
token
string 
optional
遊戲 token
Body Params application/json
visibilityChange
string 
required
畫面是否最小化,1->Client 視窗最小化
Example:
0
bet
string 
required
總押注值
Example:
250
currencyRatio
string 
required
幣比值
Example:
100
lineBetIndex
string 
required
底注(押注)索引值
Example:
2
lineBetMulti
string 
required
押注乘倍索引值
Example:
2
Examples

Responses

🟢200Success
application/json
Body
spinData
object 
required
SPIN 結果的相關資料
transmit
object (Transmit) 
required
遊戲資料傳輸結構
type
integer 
required
機制
0:無,1:乘數,2:連爆
multi
integer 
required
額外乘數
hitCount
integer 
required
中獎數量
hitPosIdx
array[integer]
required
中獎(位置索引)順序(0~19)
>= 20 items<= 20 items
hitPrizeIdx
array[integer]
required
中獎(獎項索引)順序(0~19)
>= 20 items<= 20 items
hitPrizeScore
array[integer <uint32>]
required
中獎分數順序
>= 20 items<= 20 items
prizePosIdx
array[integer]
required
每個獎項的原始位置索引(0~19)
>= 20 items<= 20 items
posPrizeIdx
array[integer]
required
每個位置的原始獎項索引(0~19)
>= 20 items<= 20 items
posPrizeScore
array[integer <uint32>]
required
每個位置的原始獎項分數
>= 20 items<= 20 items
curPosPrizeScore
array[integer <uint32>]
required
每個位置的最後獎項分數
>= 20 items<= 20 items
playerBet
integer <uint32>
required
玩家單場押注
playerWin
integer <uint32>
required
玩家單場贏分
external
object 
required
外部暫存資料結構
time
integer <uint64>
required
SPIN 結束時間
Example:
1709272029390
lineBetIndex
integer 
required
押注區間陣列索引值
Example:
2
totalWin
integer <uint32>
required
單把總贏分
Example:
0
allTotalWin
integer <uint32>
required
每局累積的總贏分
Example:
0
rand_out_data_group_jp
object 
required
群組 JP 機率結果
groupJpResult
integer 
required

群組 JP 獎項0:無, 1:JP1, 2:JP2, 3:JP3, 4:JP4

groupJpWin
string 
required
群組 JP 贏錢,單位:元
groupJpWinScore
integer <uint32>
required
群組贏分,單位:分
rand_out_data_plus_jp
object 
required
平台 JP 機率結果
lobbyJpResult
integer 
required
大廳 JP 索引值
0:沒中、1:有中
lobbyJpWin
string 
required
大廳 JP 贏錢,單位:元
lobbyJpWinScore
integer <uint32>
required
大廳 JP 贏分,單位:分
luckyInfo
object 
required
幸運特區資訊
roundNo
integer <int32>
required
局號
lotteryTicket
array [object {2}] 
required
此次 Spin 達成每日任務陣列
Example:
[{"num":0,"type":"lotteryTicket"}]
extraMission
object 
optional
額外任務資訊
luckyBox
integer <uint32>
required
特別任務獲得神秘禮盒數量
ticketBox
integer <uint32>
required
特別任務獲得彩券禮盒數量
player
object (player) 
required
playerId
string 
optional
玩家ID
Example:
010327671
account
string 
optional
玩家帳號
Example:
010327671
curreny
string 
optional
幣別
Example:
MYR
symbol
string 
optional
幣別顯示符號,¥、RM、฿
Example:
balance
string 
optional
餘額
Example:
999520
entries
string 
optional
玩家entries值,單位為cent
Example:
0
winning
string 
optional
玩家winning值,單位為cent
Example:
0
revert
string 
optional
玩家revert值,單位為cent
Example:
0
revertComp
string 
optional
玩家revertComp值,單位為cent
Example:
0
historyResult
string 
required
BET結果(By Player),若遊玩種類為SPIN則返回空陣列
Default:
[]
Example:
[]
status
string 
required
請求狀態
Default:
success
Example:
success
🟠400Bad Request
Modified at 2024-12-30 09:39:59
Previous
取得進入遊戲資訊
Next
取得遊戲資訊
Built with