#

SUD

Description

  • Player connection status notification in-game

Request Method

  • HTTPS
  • POST
  • JSON formatted parameters in request body

Request Parameters (additional fields may be added, please keep compatibility with the added fields on the server side)

Parameter Required Type Description Example Value
notify_id Yes string Notification ID 0795d77f85789da0eb387a5096
notify_time Yes string Server timestamp (ms) 1647834452408
app_id Yes string Recipient App ID 1
notify_event Yes string Notification event sud.mg.merchant.game.player.connect.status
data Yes GamePlayerConnectStatusModel Notification data {}
GamePlayerConnectStatusModel
Parameter Required Type Description Example Value
mg_id Yes string Game ID 14615640800525066
room_id Yes string Room ID 9009
game_round_id Yes string Game round ID ce56b6lzi1a7-v8eoi58qanhk-vjzmzss
player Yes PlayerModel Player info {}
payload No object Extended fields {}
PlayerModel
Parameter Required Type Description Example Value
uid Yes string Player UID u001
offline_timestamp Yes string Disconnect timestamp (ms) 1716814942000
status Yes int32 0: Offline 1: Online 0
offline_seconds Yes int32 Current offline duration (sec) 10
payload No object Extended fields {}
Signature Verification

Signature Verification

Request Example

```json { "notify_id": "xxx", "notify_time": "1647844976502", "app_id": "xxx", "notify_event": "sud.mg.merchant.game.player.connect.status", "data": { "mg_id": "xxx", "room_id": "xxx", "game_round_id": "xxx", "player": { "uid": "xxx", "offline_timestamp": "1716814942000", "status": 0, "offline_seconds": 30, "payload": {} }, "payload": {} } }

results matching ""

    No results matching ""