MCPcopy Create free account
hub / github.com/PrismarineJS/node-minecraft-protocol / joinServerRequest

Function joinServerRequest

src/client/encrypt.js:40–43  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

38 }
39
40 function joinServerRequest (cb) {
41 yggdrasilServer.join(options.accessToken, client.session.selectedProfile.id,
42 packet.serverId, sharedSecret, packet.publicKey, cb)
43 }
44
45 function sendEncryptionKeyResponse () {
46 const mcData = require('minecraft-data')(client.version)

Callers 1

gotSharedSecretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected