UNPKG

ggejs

Version:

A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms

11 lines 413 B
module.exports.name = "core_gpi"; /** * @param {BaseClient} client * @param {number} errorCode * @param {{networkId: number}} params */ module.exports.execute = function (client, errorCode, params) { // TODO: Below is not in source code. Check source code for actual if (!params || params.networkId === -1) return client.socketManager.socket.end(); client._networkId = params.networkId }