UNPKG

ggejs

Version:

A powerful JavaScript library for interacting with the server of Goodgame Empire: Four Kingdoms

11 lines 328 B
module.exports.name = "rgg"; /** * @param {Socket} socket * @param {0|1} collectReward */ module.exports.execute = function (socket, collectReward = 0) { const C2SRequestGGSGiftVO = { getCmdId: "rgg", params: {CR: collectReward} } require('../data').sendCommandVO(socket, C2SRequestGGSGiftVO); }