Closed ACmagic closed 6 years ago
type
used for set PUBG message type:
0: Events. Using 0 for all requests/responses callbackId
:
PubgResponse {
callbackId: 0,
flags: null,
interface: 'ClientApi',
method: 'Invalidate',
arguments: [ 'client.game', null, null ]
}
1: Normal (default). Using 10000+ callbackId
:
PubgRequest {
callbackId: 10007,
flags: null,
interface: 'UserProxyApi',
method: 'GetOpenGameInfo',
arguments: []
}
2: "Bypass". Using for CustomGameApi (only?). Using 10000000+ callbackId
:
PubgRequest {
callbackId: 10000001,
flags: null,
interface: 'CustomGameApi',
method: 'customgame@CustomGameApi@GetCustomGameList',
arguments: []
}
In issue 5, i found u put "type: 2" in the request body, what is "type: 2"?