UNPKG

ggejs

Version:

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

12 lines 359 B
module.exports.name = "txs"; /** * @param {Socket} socket * @param {number} taxType * @param {number} taxes */ module.exports.execute = function (socket, taxType, taxes = 3) { const C2SStartCollectTaxVO = { getCmdId: "txs", params: {TT: taxType, TX: taxes} } require('../data').sendCommandVO(socket, C2SStartCollectTaxVO); }